aboutsummaryrefslogtreecommitdiffstats
path: root/doc/install
diff options
context:
space:
mode:
Diffstat (limited to 'doc/install')
-rw-r--r--doc/install/jruby.md37
-rw-r--r--doc/install/postgresql.md12
2 files changed, 49 insertions, 0 deletions
diff --git a/doc/install/jruby.md b/doc/install/jruby.md
new file mode 100644
index 000000000..ff3cb9024
--- /dev/null
+++ b/doc/install/jruby.md
@@ -0,0 +1,37 @@
+# Install JRuby 1.6.8
+
+Download JRuby on http://www.jruby.org/download
+```sh
+mkdir application
+```
+Copy jruby-bin-1.6.8.tar.gz in application
+```sh
+cd application
+tar xfz jruby-bin-1.6.8.tar.gz
+```
+Create a repository jruby-1.6.8
+```sh
+ln -s jruby-1.6.8 jruby
+```
+
+Add to path application/jruby/bin
+```sh
+cd
+vi .profile
+```
+Add this in the file :
+```sh
+if [ -d "$HOME/application/jruby/bin" ] ; then
+ PATH="$HOME/application/jruby/bin":$PATH
+fi
+```
+
+Apply Profile
+```sh
+. .profile
+```
+
+Test JRuby
+```sh
+jruby -v
+``` \ No newline at end of file
diff --git a/doc/install/postgresql.md b/doc/install/postgresql.md
new file mode 100644
index 000000000..204aec33f
--- /dev/null
+++ b/doc/install/postgresql.md
@@ -0,0 +1,12 @@
+# Install Postgresql
+
+Setup
+-----
+
+```sh
+sudo su - postgres
+createuser -d -P -U postgres chouette
+Enter password for new role: chouette
+Enter it again: chouette
+Shall the new role be a superuser? (y/n) y
+``` \ No newline at end of file