- Docker 19.x If you run the project locally, the followings are required.
- Ruby 3.0.0
- Bundler 2.1.x
- Node.js 14.15.1
- Yarn 1.22.x
- MySQL 8.0.x
Setup procedure of development environment.
Run cp env.example .env and open .env file to edit environment variables.
Build docker containers
docker-compose buildInitialize
docker-compose run web ruby ./bin/initializeSetup database
docker-compose run web bundle exec rake db:create db:migrate db:seedStart the app
docker-compose upInstall dependencies
## Install gems
bundle install
Start mysql and setup database
```bash
bin/rake db:create db:migrate db:seedStart the app
## API server
bin/rails sStart console
bin/rails cOnce you created the staging and production environments in Jitera's DevOps menu, you can deploy to staging by pushing a new commit to develop branch, and to production by pushing a new commit to master branch.
This project was generated by jitera automation, run by Jitera.