README in parlement-0.10 vs README in parlement-0.11
- old
+ new
@@ -3,22 +3,22 @@
| '_ \ / _` | '__| |/ _ \ '_ ` _ \ / _ \ '_ \| __|
| |_) | (_| | | | | __/ | | | | | __/ | | | |_
| .__/ \__,_|_| |_|\___|_| |_| |_|\___|_| |_|\__|
|_|
-On debian, here are the commands used to setup the parlement machine:
+On debian, here are the commands used to setup a parlement server:
# apt-get install postgresql
# sudo su - postgres
~ createuser /your_login/
~ exit
# apt-get install ruby
# apt-get install libpgsql-ruby
# apt-get install irb
# apt-get install rdoc
Basically this install postgresql, ruby and the ruby driver to psql. Ruby on
-Rails is database agnostic, parlement will be sometimes in the near future.
+Rails is database agnostic, parlement will be sometimes in the future.
You need to install "ruby gems":http://docs.rubygems.org
And then:
# gem install rails
@@ -43,11 +43,12 @@
| /home/manu/parlement/trunk/script/runner 'Mailman.receive STDIN.read'
Once you have everything set up (ruby, postgresql, redcloth, irb), you can
initialise and launch parlement this way:
-~ svn checkout svn://rubyforge.org/var/svn/parlement # Get the code source
-~ cd parlement/trunk # Go into the right folder
+# Get the source code
+~ svn checkout svn://rubyforge.org/var/svn/parlement/trunk parlement
+~ cd parlement # Go into the right folder
~ createdb parlement_development # Create database
~ psql -q template1 -f db/schema.sql # Initiate the db schema
~ rake migrate # Get the db to its last version
~ ruby lib/data_import.rb # Populate the db
~ ruby ./script/server # Launch the server