tiffon / graffinity_server

Graffinity's server, includes sample Neo4j databases

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Graffinity Server

This project contains server-side functions for Graffinity, prototype software for visualizing connectivity relationships in large graphs.

This project contains the necessary files to launch a virtual machine using Vagrant, install dependencies on that machine, and ultimately configure Neo4j databases for use with Graffinity.

Setup

These directions are for setting up the Graffinity Server for local development and testing. It requires that you use Vagrant. I developed it with Vagrant 1.8.5, though newer versions might also work. You will also need to have the git lfs extension installed before cloning this repository.

  1. Clone this repository
  2. Cd into the directory
  3. Run vagrant up to create a new virtual machine and automatically configure it for Graffinity (this will take a while)
  4. Run vagrant sshto connect to the machine
  5. In the virtual machine, launch the script python /vagrant/run_server.py to start the Graffinity application
  6. Back on your host machine, run files in the example_scripts directory to test the server

Deploying with apache2

  1. Install apache2 with modwsgi
  2. Make symlink to connectivity_matrix_server folder in /var/www
  3. Make symlink to connectivity_matrix.conf in /etc/apache2/sites-available
  4. Make the site available - sudo a2ensite connectivity_matrix.conf
  5. Edit /etc/apache2/ports.conf - add the line Listen 8000
  6. Restart apache2 service

About

Graffinity's server, includes sample Neo4j databases

License:MIT License


Languages

Language:Python 84.5%Language:Shell 15.5%