Skip to content

Latest commit

 

History

History
52 lines (32 loc) · 1.15 KB

File metadata and controls

52 lines (32 loc) · 1.15 KB

Main API

Built with Python Flask.

wercker status Docker Pulls

Based on mrpatiwi/flask-starter

Running

Clone this repository:

git clone https://github.com/ACM-Planner/main-api.git

Set environment variables:

export RDF_URI=http://localhost:3030
export RDF_STORE=store
export RDF_USER=admin
export RDF_PASSWORD=pw

Check ACM-Planner/RDF-store to run a local instance of a HTTP RDF Store.

Development

Make sure you have Python 3.4.x installed.

Install the dependencies with:

pip install -r requirements.txt

Start this application with:

python main.py

Now it's available at http://localhost:5000.

Testing

python test/app_test.py