- Go to the backend folder with
cd backend
- Run
docker-compose up
- Wait until all of the services are running
- You can connect on the host to the app's database at port 3306, to the Keycloak's database at port 3307. For the credentials please check docker-compose.yml file.
- Press Ctrl+C to stop the services
- (Optional) if you want to import the latest realm config then run
import_realm.sh
- (Optional) if you've changed the Keycloak's configuration and want to export the latest realm config then run
export_realm.sh
and commit the realm.json file - (Optional) Databases are persisted between
docker-compose up
-s, if you want to reset the DB's to a brand new, clean state then rundocker-compose down
- (Optional) If you want to restart just the backend service with rebuild then run
rebuild_backend.sh
- Go to the frontend folder with
cd frontend
- Run
npm install
- Run
npm start
- Press Ctrl+C to stop the dev server