- Install Ruby (e.g. see instructions in https://gorails.com/setup/osx/10.15-catalina)
- Install PostgreSQL (e.g. see instructions in https://gorails.com/setup/osx/10.15-catalina)
- Install Redis
- Install Rails and dependencies. Run
bundle installin project directory. - Install frontend (Vuejs) dependencies. Run
yarn installin project directory.
bundle exec rake db:resetbundle exec rake db:fixtures:load
- Run backend server:
rails s - Run frontend server:
bin/webpack-dev-server - After both servers are fully loaded. Open
http://localhost:3000/in a browser.
-
Logging in as admin:
- Em: super@admin.com
- Pw: password
-
Logging in as other users:
- Em: See
test/fixtures/users.yml - Pw: password
- Em: See