MAC开发环境搭建

装机
1.安装home-brew
2.安装步骤在:http://blog.frd.mn/install-nginx-php-fpm-mysql-and-phpmyadmin-on-os-x-mavericks-using-homebrew/
(中间可能需要建立软连接来设置开机启动,可以从文章中看到如何建立)
3.使用brew install 安装redis
4.使用brew install安装composer
5.从BIT BUCKIT上clone代码
6.配置nginx的site-enable文件夹内部内容
7.在工程目录下运行composer install一下安装框架的东西
8.设置PHP的时区
   位置为:使用php —ini查看
9.启动redid:
    launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.redis.plist
10.安装gulp

https://travismaynard.com/writing/getting-started-with-gulp

如果 gulpfile.js和package.json已经存在了,则相关步骤不需要再做

 

查看安装路径:例如php7.0:brew info php70

posted @ 2016-02-03 18:36  S大好人S  阅读(225)  评论(0编辑  收藏  举报