-
Notifications
You must be signed in to change notification settings - Fork 0
New Mac Os Setup
Yann Lastapis edited this page May 28, 2015
·
16 revisions
Install Through App Store
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install node
npm install -g bower
npm install -g grunt-cli
brew install redis
brew install mongodb
brew install nginx
npm install -g pomelo
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
sudo openssl genrsa -des3 -passout pass:x -out ws.donut.local.pass.key 2048
sudo openssl rsa -passin pass:x -in ws.donut.local.pass.key -out ws.donut.local.key
rm ws.donut.local.pass.key
sudo openssl req -new -key ws.donut.local.key -out ws.donut.local.csr
sudo openssl x509 -req -days 365 -in ws.donut.local.csr -signkey ws.donut.local.key -out ws.donut.local.crt
For more informations : http://www.robpeck.com/2010/10/google-chrome-mac-os-x-and-self-signed-ssl-certificates/#.VWbTnVztlBc
vim /usr/local/etc/nginx/nginx.conf
See Readme
vim /private/etc/hosts
And add the following lines :
127.0.0.1 donut.local
127.0.0.1 ws.donut.local
cd
ssh-keygen -t rsa -b 4096 -C "youremail@gmail.com"
cd
cd .ssh
touch config
chmod 644 config
ssh mongo01
brew tap homebrew/services
brew services start mongodb
cd /www/donut
grunt donut-pull-database