Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Modern Ruby on Rails template to start every new project. Skip the boilerplate and focus on what's unique to your project.

NotificationsYou must be signed in to change notification settings

yatish27/shore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shore

Build StatusLicense

Introduction

Shore is a Ruby on Rails template with modern stack to start your new project.

Features

  • Ruby: Ruby 3.4.4
  • Rails:Rails 8
  • PostgreSQL:PostgresSQL 17
  • Tailwind CSS: UsesTailwind CSS v4 for styling.
  • Vite Ruby: UsesVite Ruby for asset management. It is based onVite.js. It replaces webpacker, jsbundling-rails, cssbundling-rails, importmaps and sprockets/propshaft.
  • Node/NPM: Uses Node and npm for package management.
  • Solid Queue: UsesSolid Queue for background processing.
  • Rspec/FactoryBot: UsesRSpec andFactorybot.
  • Rubocop: Auto-formats Ruby code withrubocop.
  • Prettier: Auto-formats JavaScript and CSS code withprettier.
  • Github Actions: Uses Github Actions for continuous integration and deployment.
  • Deployment: Supports deployment onHeroku andRender

Getting Started

System Requirements

You will need the following to run the application.

Referhere to install these dependencies

Initial setup

  • Shore is a preconfigured base Ruby on Rails application. You can clone this repository and add it to your repo.

    git clone git@github.com:yatish27/shore.git your_new_project_namecd your_new_project_name
  • The application's default name is Shore. You can rename it to your desired new name. The name should be in camelcase.

    ./bin/rename_project YourNewProjectName
  • Copy theenv.sample to.env

    • The default username and password for database is set topostgres andpostgres. You can override them in.env file.
  • Runbin/setup to set up the application. It prepares the database and installs the required ruby gems and javascript packages. The script is idempotent, so you can run it multiple times.

    ./bin/setup

Running the application

Start your application

./bin/dev

This runs overmind or foreman using the Procfile.dev. It starts the rails server, solid queue background job process and vite server.

Visithttp://localhost:3000 to see the home page 🚀.

Deployment

  • Heroku
  • Render

Testing

Running all tests

./bin/rspec

Running a single spec

./bin/rspec spec/system/root_spec.rb

License

Shore is released under theMIT License.

Contributing

PRs are welcome

About

Modern Ruby on Rails template to start every new project. Skip the boilerplate and focus on what's unique to your project.

Topics

Resources

Stars

Watchers

Forks

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp