GraphSpace is running at http://graphspace.org
GraphSpace has three dummy users:
- Username: email@example.com Password: user1
- Username: firstname.lastname@example.org Password: user2
- Username: email@example.com Password: user3
Running GraphSpace locally
In order to run GraphSpace, please install postgreSQL and both the Python runtime and development environments. We have tested GraphSpace with Python v2.7.10 and postgreSQL v9.6.2. GraphSpace does not support Python v3. GraphSpace performs best on either Mozilla Firefox or Google Chrome browsers. The following steps describe how to install Python packages required by GraphSpace, download the GraphSpace code, and set up and start the server. The following instructions should apply to computers running a version of the Linux or OS X operating systems.
- Download the GraphSpace code by running
git clone https://github.com/Murali-group/GraphSpace.gitor by downloading the latest release: https://github.com/Murali-group/GraphSpace/releases.
- Visit the GraphSpace directory:
- Create a virtual environment for the project:
- Start using the virtual environment:
- Install graphspace:
- Finally, start the GraphSpace server:
python manage.py runserver --settings=graphspace.settings.local
http://localhost:8080and enjoy using GraphSpace!
Running GraphSpace on Apache
This section describes the steps required to launch GraphSpace on a server that has
apache2 running on it. First, please follow the steps in Running GraphSpace locally. Next, execute the instructions below.
- Follow instructions 1-5 in
Running GraphSpace locally
- Add settings file
production.pyby copying local settings file.
cp graphspace/settings/local.py graphspace/settings/
- Update your
URL_PATHto the URL where your server will be running. Note: Please add the ending '/' character at the end of this value: For example: http://graphspace.org/
- Modify the
PATHto point to where GraphSpace directory exists. Note: Please add the ending '/' character at the end of this value: For example: /home/ubuntu/GraphSpace/
- Visit the
cd /path_to/apache2. An example of the full path to this directory is
- Navigate to the
- Create a file called
graphspace.confand access this file using admin privileges: `sudo vim graphspace.conf'
- Inside this file, copy and paste following lines, after replacing
path_to_GraphSpacewith the name of the directory where you downloaded GraphSpace:
WSGIDaemonProcess GraphSpace python-path=/path_to_GraphSpace:/path_to_GraphSpace/venv/lib/python2.7/site-packages/ python-eggs=/path_to_python_eggs WSGIProcessGroup GraphSpace WSGIScriptAlias / /path_to_GraphSpace/graphspace/wsgi.py <Directory /path_to_GraphSpace/graphspace/> <Files wsgi.py> Order deny,allow Require all granted </Files> </Directory> Alias /static/ /path_to_GraphSpace/graphs/static/ <Directory /path_to_GraphSpace/graphs/static/> Require all granted </Directory> <Directory /path_to_GraphSpace> Options Indexes FollowSymLinks AllowOverride None Require all granted </Directory>
- Install module to recognize Django application through apache2:
sudo apt-get install libapache2-mod-wsgi
- Give permission to access static files through apache2. Navigate outside GraphSpace and type:
chmod 777 GraphSpace
- Create a directory for python-eggs.
- Give permission to access static files through apache2.
chmod 777 /path_to_python_eggs
- Restart the apache server. On a computer running Ubuntu, the command is
sudo service apache2 restart
Refer to https://docs.djangoproject.com/en/1.8/howto/deployment/wsgi/modwsgi/ if any problems occur with the setup.
Feel free to fork and send us pull requests. Here are the guidelines for contribution in GraphSpace.