Node-based editor for Madison
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
api
assets
config
tasks
test
views
.editorconfig
.gitignore
.jshintrc
.sailsrc
.travis.yml
Gruntfile.js
LICENSE
README.md
app.js
package.json

README.md

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.