The TripBook Project.
- Linux or macOS
- Ruby 2.4
- Node.js 6.0+
- ImageMagick
- PostgreSQL 9.5+
- Facebook
- Env
FB_APP_ID,FB_APP_SECRET - Needs to enable FB Login, the OAuth redirect URI is:
[your_host]/users/auth/facebook/callback
- Env
- Run
bin/setup. - Edit
.env. - Edit
config/database.ymland runbin/rails db:setupif needed.
bin/rake js:install: Install JavaScript dependencies using NPM.bin/rake erd:generate: Generate ERD diagram for domain models (requires Graphviz 2.22+).bin/rake syntax:check: Check the code syntax using Rubocop.bin/rake syntax:check_js: Check JS code syntax using ESLint.bin/rake syntax:auto_correct: Auto correct the code syntax using Rubocop.bin/rake staging:bootstrap: Fill the database with testing data.
Run bin/guard for autotest and livereload.