Halal, it's a lifestyle.
Table of Contents
Docker and docker-compose dependencies
- https://www.docker.com/products/docker-desktop
- https://docs.docker.com/install/
- https://docs.docker.com/compose/install/
Open a terminal and execute the following command
docker-compose build
docker-compose up
You can list logs for a specific service. For instance, for backend service logs
docker-compose logs -f web
Frontend service logs
docker-compose logs -f frontend
Restart web service
docker-compose restart web
Restart frontend service
docker-compose restart frontend
- Install the Hasura CLI:
- Run these from the root of the project:
- Attach to the Hasura Console:
hasura console --admin-secret myadminsecretkey - Apply db migrations:
hasura migrate apply --admin-secret myadminsecretkey
- Attach to the Hasura Console:
Delete and rebuild all services from scratch
docker-compose build --force-rm --no-cache