You can use this project as a quick start for your new Rails project. It was created using Rails 5.1.4 (Ruby 2.4.2), PostgreSQL and RSpec.
It also features the following gems:
To start using this, create a new repository (GitHub, GitLab, etc) and download this base project from here. Extract the downloaded file and rename the folder to your new project name.
Run the following commands inside the root folder to setup your new project:
git init
git remote add origin your-project-git-url
bundle installThen, run the following command to create your environment variables file:
bundle exec figaro installCopy and paste the following lines to the generated config/application.yml file:
DATABASE_NAME: your-project-name
DATABASE_USERNAME: your-postgres-username
DATABASE_PASSWORD: your-postgres-passwordYou can rename the application by changing the config/application.rb file on line 11:
module YourProjectName
...After this, execute the following step:
rake db:createFinally, run the application:
rails sDon't forget to update this README.md to whatever your want before pushing.