-
Notifications
You must be signed in to change notification settings - Fork 41
Installing GraphSpace on Windows machines
GraphSpace is running at http://graphspace.org
GraphSpace has three dummy users:
- Username: user1@example.com Password: user1
- Username: user2@example.com Password: user2
- Username: user3@example.com Password: user3
Please install the following packages or make sure they are already installed.
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 Windows Operating System. The current build instructions has been tested on Windows 10.
- Make sure ElasticSearch service is running : Running ElasticSearch as a service on Windows
- Download the GraphSpace code by running
git clone https://github.com/Murali-group/GraphSpace.git
or by downloading the latest release: https://github.com/Murali-group/GraphSpace/releases. - In
/graphspace/settings/local.py
file, change the postgres user credentials:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': <database name>,
'USER': <user name>,
'PASSWORD': <password (if any)>,
'HOST': 'localhost',
'PORT': '5432'
}
}
- Visit the GraphSpace directory:
cd GraphSpace
- Create a virtual environment for the project:
virtualenv venv
- Start using the virtual environment by typing the following command in cmd Prompt:
source venv/bin/activate
- Run the following commands in the Command prompt (cmd) or the Windows PowerShell:
pip install django==1.9.7`
pip install urllib3
pip install psycopg2
pip install networkx
Pip install bcrypt
pip install django-analytical
pip install python-dateutil
python setup.py install
bower install
python manage.py migrate --settings=graphspace.settings.local
- Finally, start the GraphSpace server:
python manage.py runserver --settings=graphspace.settings.local
- Visit
http://localhost:8080
and enjoy using GraphSpace!
GraphSpace has extensive documentation on the user interface, the REST API and a Python package for programmatic interaction.
Feel free to fork and send us pull requests. Here are the guidelines for contribution in GraphSpace.