Code Monkey home page Code Monkey logo

Editors' Notes

Build status

This Django application runs the Editors' Notes API and authentication server.

Installation

Dependencies

Editors' Notes currently uses Python 3.5.

This project depends on the Python package lxml, which has two dependencies: libxml2, and libxslt1. They can be installed with your OS's package manager.

  • Ubuntu/Debian (aptitude): apt install libxml2-dev libxslt1-dev
  • Fedora/RHEL (dnf): dnf install libxml2-devel libxslt-devel
  • OSX (homebrew): brew install libxml2 libxslt && brew link libxml2 libxslt

Required services

Editors' Notes uses PostgreSQL (9.4+) and Elasticsearch. Consult the documentation of those applications for installation instructions.

Markup renderer

Text in the Editors' Notes API is a superset of the CommonMark markup standard. In order to to render this text into HTML, this application requires a running Editors' Notes Markup Renderer Server. By default, it will look for it on HTTP port 9393.

Production deployment

See editorsnotes/editorsnotes.org for instructions on how to deploy Editors' Notes on a server using nginx and uWSGI.

Local development environment

  1. Run make setup at 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.

  2. Edit the skeleton settings file editorsnotes/settings_local.py with information about your system. The only setting you must fill out is your database configuration.

  3. Run make all to execute all database migrations

  4. Make sure that the markup renderer server is running

  5. Start the development server with ./venv/bin/python manage.py runserver

Editors' Notes's Projects

bootstrap icon bootstrap

Sleek, intuitive, and powerful front-end framework for faster and easier web development.

django-graphs icon django-graphs

A Django mixin and middleware for linking graphs to objects

django-licensing icon django-licensing

Licensing information for Django objects that contain licensable content.

hstore icon hstore

Python dicts backed by PostgreSQL hstores.

wysihtml5 icon wysihtml5

Open source rich text editor based on HTML5 and the progressive-enhancement approach. Uses a sophisticated security concept and aims to generate fully valid HTML5 markup by preventing unmaintainable tag soups and inline styles.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.