-
Ruby version: '2.6.5'
-
Rails version: '6.0.3'
-
Database Mysql
To start up the application in your local Docker environment:
git clone [email protected]:awesome-academy/pr1909-group1.git
cd pr1909-group1
Copy .env-sample to .env and change password
cp .env-sample .env
Clean Gemfile.lock
sudo docker-compose build
Install Figaro
sudo docker-compose run app_cms bundle exec figaro install
And change application.yml follow application.yml.example, next
sudo docker-compose up --build
sudo docker-compose up -d
sudo docker-compose run app_cms rails db:create
sudo docker-compose run app_cms rails db:migrate