Skip to content
Yann Lastapis edited this page May 27, 2015 · 16 revisions

This page will explain the process to have a full development platform on Mac OS.

Install Xcode

Install Through App Store

Install Homebrew

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Install NodeJs

brew install node

Install Bower

npm install -g bower

Install Grunt

npm install -g grunt-cli

Install redis

brew install redis

Install mongoDb

brew install mongodb

Install nginx

brew install nginx

Install Pomelo

npm install -g pomelo

Generate auto-signed certificates

cd /
mkdir www/ssl
sudo chmod 777 www
sudo chmod 777 www/ssl
cd www/ssl

openssl genrsa -des3 -passout pass:x -out donut.local.pass.key 2048
openssl rsa -passin pass:x -in donut.local.pass.key -out donut.local.key
rm donut.local.pass.key
openssl req -new donut.local.key -out donut.local.csr

cp donut.local.key ws.donut.local.key
cp donut.local.csr ws.donut.local.csr

Update nginx configuration

vim /usr/local/etc/nginx/nginx.conf

See Readme

Edit host file

vim /private/etc/hosts

And add the following lines :

127.0.0.1 donut.local
127.0.0.1 ws.donut.local

Generate public key

cd

Clone this wiki locally