Updated readme's.
This commit is contained in:
parent
5c44f04633
commit
e01873b590
3 changed files with 25 additions and 14 deletions
|
@ -51,9 +51,9 @@ Getting Started
|
||||||
|
|
||||||
```
|
```
|
||||||
zammad@shell> rake assets:precompile
|
zammad@shell> rake assets:precompile
|
||||||
zammad@shell> rails server # rails web server
|
zammad@shell> puma -p 3000 # application web server
|
||||||
zammad@shell> ruby script/websocket-server.rb # non blocking websocket server
|
zammad@shell> script/websocket-server.rb start # non blocking websocket server
|
||||||
zammad@shell> rails runner 'Session.jobs' # generate overviews on demand, just send changed data to browser
|
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:
|
6. Go to http://localhost:3000/#getting_started and you'll see:
|
||||||
|
|
|
@ -32,13 +32,24 @@ Install Zammad
|
||||||
rake db:seed
|
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
|
Start Zammad
|
||||||
------------
|
------------
|
||||||
|
|
||||||
````shell
|
````shell
|
||||||
rails server # rails web server
|
puma -p 3000 # application web server
|
||||||
ruby script/websocket-server.rb # non blocking websocket server
|
script/websocket-server.rb start # non blocking websocket server
|
||||||
rails runner 'Session.jobs' # generate overviews on demand, just send changed data to browser
|
script/scheduler.rb start # generate overviews on demand, just send changed data to browser
|
||||||
````
|
````
|
||||||
|
|
||||||
Start init page
|
Start init page
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
* source /home/zammad/.rvm/scripts/rvm
|
* source /home/zammad/.rvm/scripts/rvm
|
||||||
* echo "source /home/zammad/.rvm/scripts/rvm" >> /home/zammad/.bashrc
|
* echo "source /home/zammad/.rvm/scripts/rvm" >> /home/zammad/.bashrc
|
||||||
* rvm install ruby
|
* rvm install ruby
|
||||||
* gem install rails therubyracer
|
* gem install rails therubyracer
|
||||||
|
|
||||||
### Apache Config
|
### Apache Config
|
||||||
* vi /etc/apache2/sites-available/zammad
|
* vi /etc/apache2/sites-available/zammad
|
||||||
|
@ -99,9 +99,9 @@
|
||||||
|
|
||||||
### Start Server
|
### Start Server
|
||||||
* rake assets:precompile
|
* rake assets:precompile
|
||||||
* rails server &
|
* puma -p 3000 # application web server
|
||||||
* ruby script/websocket-server.rb start &
|
* script/websocket-server.rb start # non blocking websocket server
|
||||||
* rails r 'Scheduler.run' &
|
* script/scheduler.rb start # generate overviews on demand, just send changed data to browser
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -122,7 +122,7 @@
|
||||||
* source /home/zammad/.rvm/scripts/rvm
|
* source /home/zammad/.rvm/scripts/rvm
|
||||||
* echo "source /home/zammad/.rvm/scripts/rvm" >> /home/zammad/.bashrc
|
* echo "source /home/zammad/.rvm/scripts/rvm" >> /home/zammad/.bashrc
|
||||||
* rvm install ruby
|
* rvm install ruby
|
||||||
* gem install rails therubyracer
|
* gem install rails therubyracer
|
||||||
|
|
||||||
### Get Zammad
|
### Get Zammad
|
||||||
* cd /var/www/zammad
|
* cd /var/www/zammad
|
||||||
|
@ -141,7 +141,7 @@
|
||||||
* rake db:migrate
|
* rake db:migrate
|
||||||
* rake db:seed
|
* rake db:seed
|
||||||
* rake assets:precompile
|
* rake assets:precompile
|
||||||
* rails server &
|
* puma -p 3000 # application web server
|
||||||
* ruby script/websocket-server.rb start &
|
* script/websocket-server.rb start # non blocking websocket server
|
||||||
* rails r 'Scheduler.run' &
|
* script/scheduler.rb start # generate overviews on demand, just send changed data to browser
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue