- Clean code
- Docker and docker-compose
- ORM with gorm
- Unit testing
-
Clone the repository.
-
Build all containers using
docker-compose build --no-cache
. -
Run all containers using
docker-compose up
.Tips:
- Use
--build
indocker-compose
to force update the docker image created, e.g.docker-compose up --build
- Use
-
The docker and docker compose will setup all requirements on the fly, and please provide coffee as this may take a few minutes.
-
If have finished it, that means you can use this server with all databases and data ready to use.
-
When you're done,
Ctrl-C
in the maindocker-compose up
window to terminate the running processes. -
Run
docker-compose down
to stop and remove containers.
Saefulloh Maslul |
Copyright (c) 2021 Saefulloh Maslul All rights reserved.