This project is a test application that mimic as the Digital Marketplace component of CFG. The application demonstrates the integration of CFGUM using Python based Django framework.
Please use the following steps in order to setup and configure this project on your local machines:
-
Download the project,
-
Create a virtual enviornment, using the following command, inside the project directory,
virtualenv <vir_env_name> # Let's say dmprojectenv
-
From the project directory, activate the virtual enviornment using the following command,
source dmprojectenv/bin/activate
-
Run the following command to install project dependencies. The requirements.txt file contains list of dependencies,
pip3 install -r requirement.txt
-
deactivate the virtual enviornment using the following command,
deactivate
-
Provide values of different settings in the provided dmconfig.json file,
-
Apache settings:
- Install mod_auth_openidc and mod_wsgi modules.
- Configure Apache virtual host using the provided vhost_conf file.
- restart apache after making the above changes.