Project

General

Profile

Actions

Installation instructions » History » Revision 4

« Previous | Revision 4/77 (diff) | Next »
Ohad Levy, 09/09/2009 01:23 PM


Requirements

before you start, make sure you have:

  • Puppet >= 0.24-4
  • rake >= 0.84
  • git

The installation has been successfully tested on RHE5 and Ubuntu 8.04 - 9.04, for older operating systems you might need additional packages (e.g. sqlite)

Download

to get latest "stable" version do:

git clone git://github.com/ohadlevy/foreman.git foreman
cd foreman
git submodule init
git submodule update
  • if you are behind a proxy or firewall and dont have access to github using the git protocol, use http protocol instead (e.g.)
    git clone http://github.com/ohadlevy/foreman.git foreman
    and edit the .gitmodules (replace git:// with http:// and follow the previous instructions

Initial setup

if you want to share the database with Puppets (storeconfig) edit config/database.yml and configure the production database to point to the same database, if not, you can use any other database rails support(MySQL, Sqlite etc)

to initialize the database schema type:
RAILS_ENV=production rake db:migrate
to start the built in web server:
./script/server -e production

If you would like to keep the server running, I would recommend to setup passenger, an puppet manifest example could be found here.

Great - everything works! now learn what you can do by reading the FAQ

Updates

If you would like to update to the latest version of the foreman, execute the following on the foreman directory

git pull
RAILS_ENV=production rake db:migrate

and restart your web service.

Updated by Ohad Levy about 15 years ago · 77 revisions