Skip to content

flosskosova/alaveteli

 
 

Repository files navigation

Welcome to Alaveteli!

Build Status Dependency Status

This is an open source project to create a standard, internationalised platform for making Freedom of Information (FOI) requests in different countries around the world. The software started off life as WhatDoTheyKnow, a website produced by mySociety for making FOI requests in the UK.

We hope that by joining forces between teams across the world, we can all work together on producing the best possible software, and help move towards a world where governments approach transparency as the norm, rather than the exception.

Please join our mailing list at https://groups.google.com/group/alaveteli-dev and introduce yourself.

Some documentation can be found in the doc/ folder. There's background information and a more documentation on our wiki, and lots of useful information (including a blog) on the project website

Looking for the latest stable release? It's on the master branch.

install

sudo apt-get install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion pkg-config libmagic-dev libpq-dev libmagickcore-dev libmagickwand-dev uuid-dev memcached postgresql-8.4

get sources
git clone git@github.com:flosskosova/alaveteli.git cd alaveteli/

pull the latest code : git remote add original git://github.com/mysociety/alaveteli.git git pull orginal master git pull original develop

update the submodules : git submodule update --init

get rvm : git clone git@github.com:h4ck3rm1k3/rvm.git cd rvm/ ./install source /home/mdupont/.rvm/scripts/rvm

   rvm install 1.9.2

setup : cd ../alaveteli/ gem install bundler bundle install

setup the database :

create the file alaveteli/config/database.yml from alaveteli/config/database.yml-example, change the password
edit /etc/postgresql/8.4/main/pg_hba.conf like http://www.germanxml.de/install/postgres/files/pg_hba.conf.html
restart the server
 
sudo su postgres
createuser mdupont (my user name,use yours)
createdb foi_development

install memcached

setup the app : create config/newrelic.yml from config/newrelic.yml-example create config/general.yml from config/general.yml-example

run : rake run : rake db:migrate

About

Provide a Freedom of Information request system for your jurisdiction

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 97.3%
  • Shell 1.6%
  • JavaScript 1.1%