Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

parlement

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parlement

  • 0.17
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source
                             _                           _   
            _ __   __ _ _ __| | ___ _ __ ___   ___ _ __ | |_ 
           | '_ \ / _` | '__| |/ _ \ '_ ` _ \ / _ \ '_ \| __|
           | |_) | (_| | |  | |  __/ | | | | |  __/ | | | |_ 
           | .__/ \__,_|_|  |_|\___|_| |_| |_|\___|_| |_|\__|
           |_|                                               

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 ruby-dev

apt-get install libpgsql-ruby

apt-get install irb

apt-get install rdoc

apt-get install rake

apt-get install make

Basically this install postgresql, ruby and the ruby driver to psql. Ruby on 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

gem install RedCloth

gem install ruby-debug

gem install term-ansicolor

Only if you expect to develop and do any release:

gem install meta_project

For i18n:

apt-get install ruby1.8-dev

gem install gettext

The database is setup for user "manu", you may need to change the file config/database.yml for your own settings.

Change config/environment.rb to set the domain, default is something like 'leparlement.org', use your web site or email domain.

When you want to setup your server as a node in the graph of servers, redirect your incoming mails to your parlement. In procmail (or any other mail filtering tool), define this kind of rule: :0 c * ^TO parlement|leparlement.org | /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:

Get the source code

~ svn checkout svn://rubyforge.org/var/svn/parlement/trunk parlement ~ cd parlement # Go into the right folder ~ rake db:create # Create the db ~ ruby ./script/server # Launch the server

Now you can go to http://localhost:3000 with your browser.

To setup an apache configuration:

apt-get install libapache2-mod-fcgid

a2enmod fcgid

You can check that everything works all right on your machine with the testing suite: ~ rake

               __        __   _                          
               \ \      / /__| | ___ ___  _ __ ___   ___ 
                \ \ /\ / / _ \ |/ __/ _ \| '_ ` _ \ / _ \
                 \ V  V /  __/ | (_| (_) | | | | | |  __/
                  \_/\_/ \___|_|\___\___/|_| |_| |_|\___|

FAQs

Package last updated on 25 Jul 2009

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc