This Django application runs the Editors' Notes API and authentication server.
Editors' Notes currently uses Python 2.7.
This project depends on the Python package
lxml, which has two dependencies:
libxslt1. They can be installed with your OS's package manager.
- Ubuntu (aptitude):
apt-get install libxml2-dev libxslt1-dev
- Fedora (yum):
yum install libxml2-devel libxslt-devel
- OSX (homebrew):
brew install libxml2 libxslt && brew link libxml2 libxslt
See editorsnotes/editorsnotes.org for instructions on how to deploy Editors' Notes on a server using nginx and uWSGI.
Local development environment
Setting up a local environment requires the Python task runner Fabric, which can be installed with your package manager. Once it and the dependencies above have been installed, perform the following steps:
fab setupat the project root directory. This will set up a virtual environment for python packages, install all dependencies, make a skeleton configuration file, and collect all necessary static files.
Edit the skeleton settings file
editorsnotes/settings_local.pywith information about your system. The only setting you must fill out is your database configuration.
fab sync_databaseto execute all database migrations
Start the development server with
FIXME: Add section about required editorsnotes-markup-renderer