| |
@@ -13,6 +13,9 @@
|
| |
- Docker
|
| |
- Docker-Compose
|
| |
- Python (Version 3 is recommended)
|
| |
+ - Django(1.11.5)
|
| |
+
|
| |
+
|
| |
|
| |
## Installing
|
| |
|
| |
@@ -28,6 +31,14 @@
|
| |
cd fedora-happiness-packets
|
| |
```
|
| |
|
| |
+ To run this project or the tests, you need to set up a virtualenv, install the dev requirements and set the correct DJANGO_SETTINGS_MODULE, for example with:
|
| |
+ ```
|
| |
+ virtualenv --no-site-packages --prompt='(fedora-happiness-packets)' virtualenv/
|
| |
+ source virtualenv/bin/activate
|
| |
+ pip install -r requirements/dev.txt
|
| |
+ export DJANGO_SETTINGS_MODULE=happinesspackets.settings.dev
|
| |
+ ```
|
| |
+
|
| |
In order for the login and send views to work, you must supply an OpenID Connect Client ID and Client Secret:
|
| |
|
| |
```
|
| |
Update the readme file to include some important prerequisite the project needs and some configuration in the setting file needed to run the module in your localhost.
This changes is important for newcomers because it solves many problems i think newcomers will come across during project setup and preparation of project environment and installation of requirement needed for the module to run.