Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
60 lines (41 sloc) 1.68 KB

Install PageOneX locally

Download the files from


PageOnex runs in Ruby on Rails, so you'll ned to install:


You might want to clone the repository with git:

git clone

Or download the .zip file from

Go to the directory

cd pageonex

Setup a database and then edit the config/database.yml file to give the app access to that database (we use MySQL).

Install the gems

bundle install

Run the migration (this will create the database with its tables):

rake db:migrate

Create a PageOneX admin user like this:

rails console User.create(:username=>'admin',:email=>'admin@admin.admin',:password=>'1234',:password_confirmation=>'1234') me = User.first me.admin = true

Load the list of newspapers into the data base:

rake scraping:update_media

Run the server:

rails server

You can now navigate the app at:




If you have problems with the dependencies of the gems check this tricks.

Problems with dependencies

Run the same commands with 'bundle exec' like

bundle exec rake db:migrate

If you have problems with the pg gem, needed for the "heroku" version, you can run:

bundle install --without heroku