opengovfoundation / madison-editor

Node-based editor for Madison
Apache License 2.0
5 stars 5 forks source link

Madison Editor

Build Status

The Madison Editor is our main document drafting platform for Madison. It allows lawmakers to create new legislation and share it for collaboration with their partners, before publishing it on the main Madison site.

This is a Node + Sails.js application with AngularJS on the frontend, running Etherpad as the main editing tool.

Getting Started

  1. Clone the repo
  2. Run npm install to get the node packages.
  3. Run bower install from the assets directory to get the bower packages.
  4. Create a new database for the application. Note: Currently, an instance of Madison is necessary, so you'll need an existing Madison database to connect to.
  5. Set your configuration options in the config/env folder, including the database connection in development.js.
  6. Run sails lift to start the application.

You'll also need a running Etherpad instance for the actual editing window.