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
Copy file name to clipboardExpand all lines: {{cookiecutter.project_slug}}/README.md
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -123,10 +123,10 @@ Nevertheless, if it doesn't detect a change but a syntax error, it will just sto
123
123
To test the backend run:
124
124
125
125
```bash
126
-
DOMAIN=backend sh ./script-test.sh
126
+
DOMAIN=backend sh ./scripts/test.sh
127
127
```
128
128
129
-
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.
129
+
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.
130
130
131
131
The tests run with Pytest, modify and add tests to `./backend/app/app/tests/`.
132
132
@@ -400,7 +400,7 @@ Then you need to have those constraints in your deployment Docker Compose file f
400
400
To be able to use different environments, like `prod` and `stag`, you should pass the name of the stack as an environment variable. Like:
401
401
402
402
```bash
403
-
STACK_NAME={{cookiecutter.docker_swarm_stack_name_staging}} sh ./script-deploy.sh
403
+
STACK_NAME={{cookiecutter.docker_swarm_stack_name_staging}} sh ./scripts/deploy.sh
404
404
```
405
405
406
406
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:
@@ -417,7 +417,7 @@ services:
417
417
- node.labels.${STACK_NAME}.app-db-data == true
418
418
```
419
419
420
-
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:
420
+
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:
421
421
422
422
```yaml
423
423
version: '3'
@@ -506,10 +506,10 @@ Here are the steps in detail:
506
506
* Set these environment variables, prepended to the next command:
507
507
* `TAG=prod`
508
508
* `FRONTEND_ENV=production`
509
-
* Use the provided `script-build.sh` file with those environment variables:
509
+
* Use the provided `scripts/build.sh` file with those environment variables:
0 commit comments