You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 14, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: {{cookiecutter.project_slug}}/README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -135,10 +135,10 @@ Nevertheless, if it doesn't detect a change but a syntax error, it will just sto
135
135
To test the backend run:
136
136
137
137
```bash
138
-
DOMAIN=backend sh ./script-test.sh
138
+
DOMAIN=backend sh ./scripts/test.sh
139
139
```
140
140
141
-
The file `./script-test.sh` has the commands to generate a testing `docker-stack.yml` file from the needed Docker Compose files, start the stack and test it.
141
+
The file `./scripts/test.sh` has the commands to generate a testing `docker-stack.yml` file from the needed Docker Compose files, start the stack and test it.
142
142
143
143
The tests run with Pytest, modify and add tests to `./backend/app/app/tests/`.
144
144
@@ -370,7 +370,7 @@ Then you need to have those constraints in your deployment Docker Compose file f
370
370
To be able to use different environments, like `prod` and `stag`, you should pass the name of the stack as an environment variable. Like:
371
371
372
372
```bash
373
-
STACK_NAME={{cookiecutter.docker_swarm_stack_name_staging}} sh ./script-deploy.sh
373
+
STACK_NAME={{cookiecutter.docker_swarm_stack_name_staging}} sh ./scripts/deploy.sh
374
374
```
375
375
376
376
To use and expand that environment variable inside the `docker-compose.deploy.volumes-placement.yml` files you can add the constraints to the services like:
note the `${STACK_NAME}`. In the script `./script-deploy.sh`, that `docker-compose.deploy.volumes-placement.yml` would be converted, and saved to a file `docker-stack.yml` containing:
390
+
note the `${STACK_NAME}`. In the script `./scripts/deploy.sh`, that `docker-compose.deploy.volumes-placement.yml` would be converted, and saved to a file `docker-stack.yml` containing:
391
391
392
392
```yaml
393
393
version: '3.3'
@@ -479,7 +479,7 @@ Here are the steps in detail:
479
479
* Use the provided `script-build.sh` file with those environment variables:
0 commit comments