Skip to content

Altitude-Tech/sensly-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

208 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

Setup

Sometimes new gems or database changes will be made after your initial setup.

To install new gems:

$ bundler install

To update the database for development/tests:

$ rake db:migrate

To update the database in production:

$ DB_ADMIN=1 rake db:migrate

Running tests

To run the test suite:

$ rake test

Run the development server

To start a development server:

$ rails server

Rubocop

Rubocop is used to maintain code quality.

To run rubocop:

$ rubocop --rails

To send the result to .rubocop_todo.yml:

$ rubocop --rails --auto-gen-config

The generated config file can then be slowly worked through and corrected as needed.

To run rubocop with the config in rubocop_todo.yml:

$ rubocop --rails --config `.rubocop_todo.yml`

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages