Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A library for developing API's following the HAL spec
Python HTML

This branch is 706 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
docs
moxie
.gitignore
.travis.yml
LICENSE.txt
MANIFEST.in
README.md
fabfile.py
requirements.txt
requirements_dev.txt
runserver.py
runtests.py
setup.py

README.md

moxie

Build Status

The new Mobile Oxford

This repository contains the (server-side) JSON API.

Documentation

Available at Read the docs

Documentation is also available at /docs in the repo, you need to install required packages (Sphinx) from requirements_dev.txt.

You can generate HTML documentation by running make html inside the docs directory.

Requirements

  • Solr 4 BETA
  • Redis
  • pip (easy_install pip)

How to run

Installation

  • pip install -r requirements.txt

Running the application

  • celery worker --app moxie.worker
  • python runserver.py

Options available for runserver.py

  • run with a profiler: python runserver.py --profiler
  • specify the logging level (INFO by default): python runserver.py --log-level DEBUG

Periodically, and the first time, you have to run importers to import data into the search index. You can do this via a Python shell:

>>> from moxie.places.tasks import import_all
>>> import_all.delay()
Something went wrong with that request. Please try again.