aboutsummaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorMilo Casagrande <milo@ubuntu.com>2013-01-23 11:44:08 +0100
committerMilo Casagrande <milo@ubuntu.com>2013-01-23 11:44:08 +0100
commitc67525bd5767c6eecc903ba986df3e087f94b052 (patch)
tree3388d9299be6ebd6c53435d8be3b704760068fdd /INSTALL
parentb294da9064b921d17c62b42b36a77bc4916dab1c (diff)
Worked on the INSTALL file, changed the PostgreSQL line in config file.
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL48
1 files changed, 46 insertions, 2 deletions
diff --git a/INSTALL b/INSTALL
index 17fa025..b43d9ed 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1,6 +1,50 @@
-= Rhodecode installation from source instructions =
+RhodeCode Installation and Setup
+================================
+
+RhodeCode is an open soruce git hosting solution written in Python. Linaro
+uses its own RhodeCode instance to server git repositories.
+
+Installation
+============
+
+TL;DR
+-----
+
+There is a script that can automate all the installation and setup process:
+
+* Download the 'rhodecode-config' branch from git.linaro.org
+* Move into the 'rhodecode-config' directory
+* Modify the file 'config/production.ini' changing at least the PostreSQL
+ password at the following line:
+ sqlalchemy.db1.url = postgresql://rhodecode:XXXX@localhost/rhodecode
+* Run the following command inserting the correct values:
+python scritps/rhodecode-setup --rhodecode-config config/production.ini \
+--rhodecode-admin-email $EMAIL --rhodecode-admin-pwd $ADMIN_PWD --assume-yes \
+--rabbitmq-pwd $PWD --postgres-role-pwd $PWD
+
+The above command will install all the necessary depencencies and setup RhodeCode
+with the default provided values. At the end, the script will print all the
+installation details.
+
+Dependencies
+------------
+
+ * git-core
+ * python
+ * python-dev
+ * python-psycopg2
+ * python-pip
+ * python-dateutil
+ * python-webob
+ * python-babel
+ * python-pylons
+ * python-pastescript
+ * python-nose
+ * build-essential
+ * apache2
+ * rabbitmq-server
+ * postgresql-9.1
-== Dependencies ==
sudo apt-get install python-software-properties
sudo apt-add-repository ppa:git-core/ppa