You need to have:
- Docker and Docker Compose installed on your computer.
- Your SSH Keys configured on your Gitea settings
- Mkcert installed on your computer
First step, clone the project on your computer
git clone git@github.com:dcorroyer/repository-name.git src
You need to create mkcert keys in the /docker/nginx directory:
mkcert -key-file app.key.pem -cert-file app.cert.pem app.local
mkcert -install
A shell script is used to set up the docker containers and de project, it also write the url app.local in your /etc/hosts:
run command:
./install
A Makefile
is up to provide some useful commands:
make up <=> docker-compose up -d