Add a deployment section in documentation
This commit is contained in:
parent
4148b4f8cd
commit
92bb302343
1 changed files with 17 additions and 0 deletions
17
README.md
17
README.md
|
@ -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 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
|
||||
|
||||
See [CONTRIBUTING](CONTRIBUTING.md) for developer documentation.
|
||||
|
|
Loading…
Reference in a new issue