... | @@ -26,7 +26,10 @@ The virtual environment is needed to be able to run the Django server. |
... | @@ -26,7 +26,10 @@ The virtual environment is needed to be able to run the Django server. |
|
|
|
|
|
### Configuration
|
|
### Configuration
|
|
For our website you need some modules, so first off all make sure you are still running the virtual environment, then do the following:
|
|
For our website you need some modules, so first off all make sure you are still running the virtual environment, then do the following:
|
|
* Download the `requirements.txt` which is needed for your server;
|
|
* Download the `requirements.txt` which is needed for your server. To generate a `requirements.txt` in your project execute the following:
|
|
|
|
```bash
|
|
|
|
pip3 freeze > requirements.txt
|
|
|
|
```
|
|
* To install all the modules at once use ```sudo pip3 install -r requirements.txt```.
|
|
* To install all the modules at once use ```sudo pip3 install -r requirements.txt```.
|
|
|
|
|
|
If you want to run the server on a domain name do the following:
|
|
If you want to run the server on a domain name do the following:
|
... | | ... | |