Updated readme's.

This commit is contained in:
Martin Edenhofer 2014-04-02 15:02:53 +02:00
parent 5c44f04633
commit e01873b590
3 changed files with 25 additions and 14 deletions

View file

@ -51,9 +51,9 @@ Getting Started
```
zammad@shell> rake assets:precompile
zammad@shell> rails server # rails web server
zammad@shell> ruby script/websocket-server.rb # non blocking websocket server
zammad@shell> rails runner 'Session.jobs' # generate overviews on demand, just send changed data to browser
zammad@shell> puma -p 3000 # application web server
zammad@shell> script/websocket-server.rb start # non blocking websocket server
zammad@shell> script/scheduler.rb start # generate overviews on demand, just send changed data to browser
```
6. Go to http://localhost:3000/#getting_started and you'll see:

View file

@ -32,13 +32,24 @@ Install Zammad
rake db:seed
````
Database connect
--------------
````shell
cd zammad-latest
cp config/database.yml.dist config/database.yml
rake db:create
rake db:migrate
rake db:seed
````
Start Zammad
------------
````shell
rails server # rails web server
ruby script/websocket-server.rb # non blocking websocket server
rails runner 'Session.jobs' # generate overviews on demand, just send changed data to browser
puma -p 3000 # application web server
script/websocket-server.rb start # non blocking websocket server
script/scheduler.rb start # generate overviews on demand, just send changed data to browser
````
Start init page

View file

@ -15,7 +15,7 @@
* source /home/zammad/.rvm/scripts/rvm
* echo "source /home/zammad/.rvm/scripts/rvm" >> /home/zammad/.bashrc
* rvm install ruby
* gem install rails therubyracer
* gem install rails therubyracer
### Apache Config
* vi /etc/apache2/sites-available/zammad
@ -99,9 +99,9 @@
### Start Server
* rake assets:precompile
* rails server &
* ruby script/websocket-server.rb start &
* rails r 'Scheduler.run' &
* puma -p 3000 # application web server
* script/websocket-server.rb start # non blocking websocket server
* script/scheduler.rb start # generate overviews on demand, just send changed data to browser
@ -122,7 +122,7 @@
* source /home/zammad/.rvm/scripts/rvm
* echo "source /home/zammad/.rvm/scripts/rvm" >> /home/zammad/.bashrc
* rvm install ruby
* gem install rails therubyracer
* gem install rails therubyracer
### Get Zammad
* cd /var/www/zammad
@ -141,7 +141,7 @@
* rake db:migrate
* rake db:seed
* rake assets:precompile
* rails server &
* ruby script/websocket-server.rb start &
* rails r 'Scheduler.run' &
* puma -p 3000 # application web server
* script/websocket-server.rb start # non blocking websocket server
* script/scheduler.rb start # generate overviews on demand, just send changed data to browser