Django Wagtail CMS
-
Docker
-
Windows: Docker Desktop 2.0+ on Windows 10 Pro/Enterprise. Windows 10 Home (2004+) requires Docker Desktop 2.2+ and the WSL2 back-end. (Docker Toolbox is not supported.)
-
macOS: Docker Desktop 2.0+.
-
Linux: Docker CE/EE 18.06+ and Docker Compose 1.21+. (The Ubuntu snap package is not supported.)
-
-
Visual Studio Code Extension:
Remote - Containers
Then run this application in the DEV Container
!
You also need to set the envrironment variables in the env.example
file.
# .env file
AUTH0_DOMAIN=example.auth0.com
API_IDENTIFIER=YOUR_API_AUDIENCE
POSTGRES_DB_NAME=POSTGRES_DATABASE_NAME
...
Once you've set the environment variables:
-
Install the needed dependencies with
pip install -r requirements.txt
-
Migrate the database with
python manage.py migrate
-
Start the server with
python manage.py runserver
-
Try calling http://localhost:8000/