xiusic / neo4j-flask

Flaskr Extended with Neo4j and Py2neo.

Home Page:http://nicolewhite.github.io/neo4j-flask/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

neo4j-flask

A microblog application written in Python powered by Flask and Neo4j. Extension of Flask's microblog tutorial, Flaskr.

Usage

Make sure Neo4j is running first!

If you're on Neo4j >= 2.2, make sure to set environment variables NEO4J_USERNAME and NEO4J_PASSWORD to your username and password, respectively:

$ export NEO4J_USERNAME=username
$ export NEO4J_PASSWORD=password

Or, set dbms.security.auth_enabled=false in conf/neo4j-server.properties.

Then:

git clone https://github.com/nicolewhite/neo4j-flask.git
cd neo4j-flask
pip install virtualenv
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
python run.py

http://localhost:5000

About

Flaskr Extended with Neo4j and Py2neo.

http://nicolewhite.github.io/neo4j-flask/


Languages

Language:Python 98.2%Language:C 1.1%Language:Groff 0.3%Language:CSS 0.1%Language:JavaScript 0.1%Language:Assembly 0.1%Language:HTML 0.1%Language:Shell 0.1%Language:Makefile 0.0%