Project

General

Profile

Installing latest code » History » Version 2

Greg Sutcliffe, 11/28/2011 10:28 AM

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
<pre><code>git clone git://github.com/ohadlevy/foreman.git foreman
14
cd foreman
15 2 Greg Sutcliffe
bundle install
16
</pre>
17
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
24
to get latest "stable" version do:
25
26
<pre><code>git clone git://github.com/ohadlevy/foreman.git foreman
27
cd foreman
28
git checkout -b 0.4-stable origin/0.4-stable
29 1 Romain Vrignaud
git submodule init
30
git submodule update
31
</code></pre>
32
33
* if you are behind a proxy or firewall and dont have access to github using the git protocol, use http protocol instead (e.g.)
34
<pre>
35
git clone http://github.com/ohadlevy/foreman.git foreman
36
cd foreman
37 2 Greg Sutcliffe
git checkout -b 0.4-stable origin/0.4-stable
38 1 Romain Vrignaud
sed -i 's/git:\/\//http:\/\//g' .gitmodules
39
git submodule init
40
git submodule update
41
</pre>
42
43
h3. Daily snapshot
44
45
You can also fetch the latest daily snapshot of the development version at:
46
http://theforeman.org/foreman-nightly.tar.bz2