Update README_Install_Mac.md
- changed syntax to markdown - minor fixes
This commit is contained in:
parent
e7f065926b
commit
4f683e1185
1 changed files with 38 additions and 20 deletions
|
@ -1,27 +1,45 @@
|
|||
=Installation on Mac OS 10.8 for development
|
||||
Installation on Mac OS 10.8 for development
|
||||
===========================================
|
||||
|
||||
== Prerequisits
|
||||
* Install xcode, open it -> Xcode menu > Preferences > Downloads -> install command line tools
|
||||
* curl -L https://get.rvm.io | bash -s stable --ruby
|
||||
* source /Users/me/.rvm/scripts/rvm
|
||||
Prerequisites
|
||||
------------
|
||||
* Install Xcode from the App Store, open it -> Xcode menu > Preferences > Downloads -> install command line tools
|
||||
|
||||
````shell
|
||||
curl -L https://get.rvm.io | bash -s stable --ruby
|
||||
source ~/.rvm/scripts/rvm
|
||||
````
|
||||
* start new shell -> ruby -v
|
||||
|
||||
== Get Zammad
|
||||
* cd ~/src/
|
||||
* wget http://zammad.org/zammad-1.0.1.tar.gz
|
||||
* tar -xzf zammad-1.0.1.tar.gz
|
||||
Get Zammad
|
||||
----------
|
||||
|
||||
== Install Zammad
|
||||
* cd zammad-1.0.1
|
||||
* bundle install
|
||||
* sudo ln -s /usr/local/mysql/lib/libmysqlclient.18.dylib /usr/lib/libmysqlclient.18.dylib # if needed!
|
||||
* rake db:migrate
|
||||
* rake db:seed
|
||||
````shell
|
||||
test -d ~/zammad/ || mkdir ~/zammad
|
||||
cd ~/zammad/
|
||||
curl -L -O http://zammad.org/zammad-latest.tar.bz2 | tar -xj
|
||||
````
|
||||
|
||||
== Start Zammad
|
||||
* 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
|
||||
Install Zammad
|
||||
--------------
|
||||
|
||||
== Start init page
|
||||
````shell
|
||||
cd zammad-latest
|
||||
bundle install
|
||||
sudo ln -s /usr/local/mysql/lib/libmysqlclient.18.dylib /usr/lib/libmysqlclient.18.dylib # if needed!
|
||||
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
|
||||
````
|
||||
|
||||
Start init page
|
||||
---------------
|
||||
* http://localhost:3000/#getting_started
|
||||
|
|
Loading…
Reference in a new issue