Project

General

Profile

Installing latest code » History » Revision 2

Revision 1 (Romain Vrignaud, 11/17/2011 08:55 AM) → Revision 2/26 (Greg Sutcliffe, 11/28/2011 10:28 AM)

h1. Installing latest code  

 Latest stable version can be found under the files section 

 h2. Latest source code 

 h3. Latest development You can get the latest source code 

 of Foreman has now moved to using Rails 3 and Bundler to get up and running. from the git repository hosted at github. 
 This is the preferred way to get Foreman if you want to benefit from the latest improvements. By using the git repository you can also upgrade more easily. You will need to have Bundler installed manually for now (check your distribution repositories, or install it via rubygems). 

 to get latest "development" version do: 

 <pre><code>git clone git://github.com/ohadlevy/foreman.git foreman 
 cd foreman 
 bundle install 
 </pre> 

 You can run Foreman with the command "RAILS_ENV=production rails s" 

 h3. Latest stable version 

 The old rails2 version still available under a branch 

 to get latest "stable" version do: 

 <pre><code>git clone git://github.com/ohadlevy/foreman.git foreman 
 cd foreman 
 git checkout -b 0.4-stable origin/0.4-stable 
 git submodule init 
 git submodule update 
 </code></pre> 

 * if you are behind a proxy or firewall and dont have access to github using the git protocol, use http protocol instead (e.g.) 
 <pre> 
 git clone http://github.com/ohadlevy/foreman.git foreman 
 cd foreman 
 git checkout -b 0.4-stable origin/0.4-stable 
 sed -i 's/git:\/\//http:\/\//g' .gitmodules 
 git submodule init 
 git submodule update 
 </pre> 

 h3. Daily snapshot 

 You can also fetch the latest daily snapshot of the development version at: 
 http://theforeman.org/foreman-nightly.tar.bz2