SPMS is a tool for track timesheets of secondary projects with an organization.
-
Install Ruby 2.5. (It is suggested to use a Ruby version manager such as rbenv and then to install Ruby 2.5).
-
Install Bundler to manager dependencies:
gem install bundler
-
Setup the database:
bundle exec rake db:migrate
-
Delete your master.key and credentials.yml.enc files if any then ran:
bin/rails credentials:edit
-
Start the application:
bundle exec rails s
bundle exec rubocop
- Run the full suite of linters on the codebase.bundle exec rspec
- Run the full Rspec tests.bundle exec cucumber
- Run the full feature specs.
rake rswag:specs:swaggerize
- Commands for generate swagger docs