Aaron Beetstra Lead developer
Selim Aydi
Ralph Verburg
Jasper Wijnhoven
Ryan Wilson
The following instruction specify how to run this project on different platforms.
The following instructions are for a production mode of operation. This means no errors like routing errors are shown, instead a 404 page is returned.
Setup
Please not that the versions provided are the ones used for testing, no other version, like Django 2.0, have been tested.
In order to run the latest version you require the following:
- Python 3.6
- Django 1.11
- psycopg2 2.7.3.2
- django-graphos 0.3.41
An internet connection and database connection are required for optimal use.
- Clone the master branch from this repository;
- Extract the files to prefered location;
- Open a console in the first website folder, the one with the manage.py file;
- Run the following command:
python manage.py runserver --insecure; - Open a Google Chrome and go to the following link (default):
127.0.0.1:8000.
- Follow the Windows instruction up to step 4;
- In the console, run the following command:
sudo python3 manage.py 0.0.0.0:port --insecure; - Either open a local browser and go to the ip address associated with your server or user another computer to go to that address.
The following instructions are for a development mode of operation. This means errors, such as routing errors, are returned when these occur, instead of 404 pages being returned.
- Follow the instructions for your OS up to step 4;
- Change your current directory to
website\websiteand open thesettings.pyfile; - Find the
DEBUG = Falseline and change it toDEBUG = True. - Proceed from step 4 for Windows instructions or step 2 for Ubuntu instructions.