🐳 Add the Docker volume for website content

This commit is contained in:
Lacey Williams Henschel
2023-01-18 19:40:50 -08:00
parent 1725f7c55d
commit 1d8edd1730
2 changed files with 10 additions and 0 deletions

View File

@@ -62,6 +62,10 @@ $ docker-compose -f docker-compose-with-celery.yml down
[Generate a new personal access token](https://github.com/settings/tokens) and replace the value for `GITHUB_TOKEN` in your `.env` file in order to connect to certain parts of the GitHub API.
### `ENVIRONMENT_NAME`
Optional. Set a name for local development that will display in a banner in the Django Admin.
## Running the tests
To run the tests, execute:
@@ -96,6 +100,11 @@ For production, execute:
$ yarn build
```
## Local Dev - Markdown content handling
1. Clone the content repo to your local machine, at the same level as this repo: https://github.com/boostorg/website2022. Docker-compose will look for this folder and its contents on your machine, so it can copy the contents into a Docker container.
## Deploying
TDB

View File

@@ -39,6 +39,7 @@ services:
- "8000:8000"
volumes:
- .:/code
- ../website2022/:/website
stop_signal: SIGKILL
networks: