From a4279815c697f77019b04f147e01510211cadc15 Mon Sep 17 00:00:00 2001 From: Roy Kaldung Date: Tue, 22 Jan 2013 17:37:43 +0100 Subject: [PATCH 1/2] added optional zammad config in sysconfig --- script/init-script-normal-user-rvm-fedora | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/script/init-script-normal-user-rvm-fedora b/script/init-script-normal-user-rvm-fedora index 532b41191cad..404f9e6271e1 100755 --- a/script/init-script-normal-user-rvm-fedora +++ b/script/init-script-normal-user-rvm-fedora @@ -21,6 +21,11 @@ NAME=zammad APP_PORT=3000 WS_PORT=6042 +ZAMMAD_CONFIG=/etc/sysconfig/zammad +# Read config +[ -f "$JENKINS_CONFIG" ] && . "$JENKINS_CONFIG" + + # Load RVM into a shell session *as a function* if [[ -s "$HOME/.rvm/scripts/rvm" ]] ; then # First try to load from a user install From 535b99265006fdcdd108f74decc176628630c54b Mon Sep 17 00:00:00 2001 From: Roy Kaldung Date: Tue, 22 Jan 2013 21:18:40 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 811dabd3c2be..f5b0de58c7d4 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Getting Started ``` 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 zammad@shell> su - zammad ``` @@ -26,16 +26,17 @@ Getting Started ``` 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> 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> vi config/database.yml -```` +``` 4. Initialize your database