This commit is contained in:
Martin Edenhofer 2013-01-23 08:23:00 +01:00
commit 0e16ef7c92
2 changed files with 9 additions and 4 deletions

View file

@ -17,7 +17,7 @@ Getting Started
``` ```
root@shell> cd /opt/ root@shell> cd /opt/
root@shell> tar -xzvf zammad-1.0.1.tar.gz root@shell> tar -xzf zammad-1.0.1.tar.gz
root@shell> useradd zammad root@shell> useradd zammad
zammad@shell> su - zammad zammad@shell> su - zammad
``` ```
@ -26,17 +26,17 @@ Getting Started
``` ```
zammad@shell> cd zammad zammad@shell> cd zammad
zammad@shell> sudo gem install rails zammad@shell> gem install rails
zammad@shell> vi Gemfile # enable libv8, execjs and therubyracer if needed! zammad@shell> vi Gemfile # enable libv8, execjs and therubyracer if needed!
zammad@shell> sudo bundle install zammad@shell> sudo bundle install
``` ```
3. Configure your databases (if needed) 3. Configure your databases
``` ```
zammad@shell> cp config/database.yml.dist config/database.yml zammad@shell> cp config/database.yml.dist config/database.yml
zammad@shell> vi config/database.yml zammad@shell> vi config/database.yml
```` ```
4. Initialize your database 4. Initialize your database

View file

@ -21,6 +21,11 @@ NAME=zammad
APP_PORT=3000 APP_PORT=3000
WS_PORT=6042 WS_PORT=6042
ZAMMAD_CONFIG=/etc/sysconfig/zammad
# Read config
[ -f "$JENKINS_CONFIG" ] && . "$JENKINS_CONFIG"
# Load RVM into a shell session *as a function* # Load RVM into a shell session *as a function*
if [[ -s "$HOME/.rvm/scripts/rvm" ]] ; then if [[ -s "$HOME/.rvm/scripts/rvm" ]] ; then
# First try to load from a user install # First try to load from a user install