Commit 92bb3023 authored by coox's avatar coox

Add a deployment section in documentation

parent 4148b4f8
...@@ -45,6 +45,23 @@ make run ...@@ -45,6 +45,23 @@ make run
You can then navigate the project at [http://localhost:8000/](http://localhost:8000/). 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 project’s [`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 project’s 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 project’s static files:
```sh
make build
```
Then, configure and run your WSGI server and your web server.
## Hacking ## Hacking
See [CONTRIBUTING](CONTRIBUTING.md) for developer documentation. See [CONTRIBUTING](CONTRIBUTING.md) for developer documentation.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment