- Ruby version - 2.7.0
- Node version - 13.12.0
- System dependencies
- postgresql, redis, yarn
- heroku-cli
- Create a pg user called covid_19_zones with password covid_19_zones -
createuser -d -s -P covid_19_zones
- Install gems -
bundle install --path=.bundle --jobs=4 --retry=3
- Install node modules -
yarn
- Setup db -
bundle exec rails db:create db:migrate db:seed
- Start the server using heroku cli and Procfile.local -
bin/start-server
- Run tests -
bundle exec rails test
- Autorun tests -
bundle exec guard
- Fix style issues before commits -
bundle exec rubocop -a
(or to run it on only the git cache -bundle exec rubocop -a -D $(git diff --cached --name-only --diff-filter=d HEAD | egrep ".(rb|rake)$" | egrep -v "db\/schema.rb" | egrep -v "lib\/pb") Gemfile
)
-
Notifications
You must be signed in to change notification settings - Fork 0
anshul/covid-19-zones
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published