Commit c84967da authored by Michael Witrant's avatar Michael Witrant
Browse files

improved readme

parent b1502ad5
...@@ -7,12 +7,16 @@ It was made for [La Quadrature du Net](http://www.laquadrature.net/). ...@@ -7,12 +7,16 @@ It was made for [La Quadrature du Net](http://www.laquadrature.net/).
It's also available here: http://quadrature.herokuapp.com/ It's also available here: http://quadrature.herokuapp.com/
Installation Installation
------------ ------------
You need Ruby 1.9+. You need git, Ruby 1.9+ and the gem `bundler`.
git clone git://github.com/piglop/quadrature.git
cd quadrature
bundle
Clone the repository and run "bundle" to install the gems.
Usage Usage
----- -----
...@@ -21,10 +25,12 @@ First you must save the doc file to OpenDocument text (.odt) with OpenOffice or ...@@ -21,10 +25,12 @@ First you must save the doc file to OpenDocument text (.odt) with OpenOffice or
Then you can run the command line version: Then you can run the command line version:
./extract_amendments.rb <odt file> >result.mediawiki ruby extract_amendments.rb your_document.odt >result.mediawiki
Or you can use the web server : Or you can use the web server :
Run the server with `ruby server.rb` and go to http://localhost:4567/. Then select your odt file and submit. Your browser should display the mediawiki text to copy/paste. Run the server with `ruby server.rb` (or `rerun server.rb`) and go to http://localhost:4567/
Then select your odt file and submit. Your browser should display the mediawiki text to copy/paste.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment