Browse Source

Merge branch 'master' of https://github.com/martini/zammad

Martin Edenhofer 12 years ago
parent
commit
0e16ef7c92
2 changed files with 9 additions and 4 deletions
  1. 4 4
      README.md
  2. 5 0
      script/init-script-normal-user-rvm-fedora

+ 4 - 4
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,17 +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
 

+ 5 - 0
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