Skip to content

Rails 6, Devise authentication, Rspec and Twitter bootstrap 5, rubocop coding convention gem integrated new application starter project.

License

Notifications You must be signed in to change notification settings

masudcsesust04/rails-web-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rails web starter application

Rails 6, Devise authentication, CanCanCan user role based authorization, Rspec and Twitter bootstrap 4 CSS framework integrated sample project.

Software Versions

  • Ruby 3.0
  • Rails 6.1.1
  • PostgreSQL 12.1
  • NodeJS >= 15.0.1

Source code repository

$ git clone [email protected]:masudcsesust04/rails-web-starter.git
$ git fetch origin
$ git checkout -b development origin/development

Note: Use development branch for application developmet. Start from this branch to create your feature branches.

System dependencies

$ gem install bundler
$ bundle config set --local path vendor/bundle
$ yarn install

Configuration

  • Make a copy of .env.sample file as .env and update DB configuration as your db host, name etc.

Database creation

$ bundle exec rake db:create:all

Database initialization

$ bundle exec rake db:migrate
$ bundle exec rake db:seed
$ bundle exec rake db:test:prepare

Run application

$ bundle exec foreman start -f Procfile.dev

or

$ bash run.sh

Enter rails console

$ bundle exec rails c

Run the rspec test suite

# to run all of the test suite
$ bundle exec rspec 

# to run sepcific spec file
$ bundle exec rspec file_name_with_path 

Run rubocop to fix offenses

$ bundle exec rubocop

Services (job queues, cache servers, search engines, etc.)

  • Add here, If you used any over the application development life cycle.

Deployment instructions

  • Add capistrano or
  • Docker deployment instructions

About

Rails 6, Devise authentication, Rspec and Twitter bootstrap 5, rubocop coding convention gem integrated new application starter project.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published