Project

General

Profile

Installing latest code » History » Version 6

Ohad Levy, 11/28/2011 01:33 PM

1 1 Romain Vrignaud
h1. Installing latest code 
2
3
Latest stable version can be found under the files section
4
5
h2. Latest source code
6
7 2 Greg Sutcliffe
h3. Latest development code
8 1 Romain Vrignaud
9 2 Greg Sutcliffe
Foreman has now moved to using Rails 3 and Bundler to get up and running. 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).
10
11 1 Romain Vrignaud
to get latest "development" version do:
12
13 6 Ohad Levy
<pre><code>git clone https://github.com/ohadlevy/foreman.git -b develop
14 1 Romain Vrignaud
cd foreman
15 2 Greg Sutcliffe
bundle install
16 5 Ohad Levy
</code></pre>
17 2 Greg Sutcliffe
18
You can run Foreman with the command "RAILS_ENV=production rails s"
19
20
h3. Latest stable version
21
22
The old rails2 version still available under a branch
23 1 Romain Vrignaud
24
to get latest "stable" version do:
25 5 Ohad Levy
26 6 Ohad Levy
<pre><code>git clone https://github.com/ohadlevy/foreman.git -b 0.4-stable
27 1 Romain Vrignaud
cd foreman
28
git submodule init
29
git submodule update
30
</code></pre>
31
32 5 Ohad Levy
if you are behind a proxy or firewall and dont have access to github using the git protocol, use http protocol instead (e.g.)
33
34 6 Ohad Levy
<pre><code>git clone https://github.com/ohadlevy/foreman.git foreman
35 2 Greg Sutcliffe
cd foreman
36 1 Romain Vrignaud
sed -i 's/git:\/\//http:\/\//g' .gitmodules
37
git submodule init
38
git submodule update
39 5 Ohad Levy
</code></pre>
40 1 Romain Vrignaud
41
h3. Daily snapshot
42
43 4 Ohad Levy
You can also fetch the latest daily snapshot of the 0.4 stable version at:
44 1 Romain Vrignaud
http://theforeman.org/foreman-nightly.tar.bz2