Add a deployment section in documentation

This commit is contained in:
coox 2020-05-11 22:28:17 +02:00
parent 4148b4f8cd
commit 92bb302343
1 changed files with 17 additions and 0 deletions

View File

@ -45,6 +45,23 @@ make run
You can then navigate the project at [http://localhost:8000/](http://localhost:8000/).
## Deployment
To install and run the project in production, you must ensure that the following extra prerequisites are fulfilled:
- you can run an [WSGI](https://www.python.org/dev/peps/pep-3333/) server with IPv6 support to expose the projects [`application`](https://docs.djangoproject.com/en/3.0/howto/deployment/wsgi/#the-application-object)
- you can run a web server with IPv6 support to act as a file server for the projects static files, and as a reverse proxy between the WSGI server and the internet
Proceed to deploying this repository, and navigate to its directory.
Then, execute the following command to install the projects static files:
```sh
make build
```
Then, configure and run your WSGI server and your web server.
## Hacking
See [CONTRIBUTING](CONTRIBUTING.md) for developer documentation.