README updated
This commit is contained in:
parent
93679fa35c
commit
22e7ac2a97
1 changed files with 11 additions and 1 deletions
12
README.md
12
README.md
|
@ -16,18 +16,28 @@ Clone the 3 repos into the folder:
|
||||||
|
|
||||||
## SSH git clone via docker compose
|
## SSH git clone via docker compose
|
||||||
Have a valid ssh key pair with the Git server provider.
|
Have a valid ssh key pair with the Git server provider.
|
||||||
|
|
||||||
adjust the path to the frontend and backend repos inside `docker-compose_ssh_git.yml`
|
adjust the path to the frontend and backend repos inside `docker-compose_ssh_git.yml`
|
||||||
|
|
||||||
|
|
||||||
run ```docker compose build -f docker-compose_ssh_git.yml --ssh default```
|
run ```docker compose build -f docker-compose_ssh_git.yml --ssh default```
|
||||||
|
|
||||||
this path is tricky because you have to do more to make the ssh keys working with the docker compose instance.
|
this path is tricky because you have to do more to make the ssh keys working with the docker compose instance.
|
||||||
|
|
||||||
## how to start the application
|
## how to start the application
|
||||||
Adjust the .env files.
|
Adjust the .env files.
|
||||||
|
|
||||||
|
|
||||||
run: ```docker compose up --build```
|
run: ```docker compose up --build```
|
||||||
|
|
||||||
|
|
||||||
run: ```docker-compose exec backend python manage.py createsuperuser``` and create a user in the backend.
|
run: ```docker-compose exec backend python manage.py createsuperuser``` and create a user in the backend.
|
||||||
|
|
||||||
the frontend runs on http://localhost:5173
|
the frontend runs on http://localhost:5173
|
||||||
|
|
||||||
|
|
||||||
local dev:
|
### local dev:
|
||||||
enables live updates of the code during development, no rebuild needed:
|
enables live updates of the code during development, no rebuild needed:
|
||||||
|
|
||||||
|
|
||||||
```docker-compose -f docker-compose.yml -f docker-compose.override.yml up```
|
```docker-compose -f docker-compose.yml -f docker-compose.override.yml up```
|
||||||
|
|
Loading…
Reference in a new issue