Fork me on GitHub
摘要: Mac OS X 中默认有两个目录可以直接运行你的 Web 程序, 一个是系统级的 Web 根目录:/Library/WebServer/Documents/ 此根目录我们平常使用地址http://localhost来访问 另一个是用户级的根目录,根目录(也是站点目录)是:~/Sites 此根目录我 阅读全文
posted @ 2016-11-29 08:48 archer-wong 阅读(4874) 评论(0) 推荐(0) 编辑
摘要: 最简单直接的方式还是使用 Mac 上自带的 Apache 和 PHP。 1.启动 Apache 1>启动apache $sudo apachectl start; 2>启动后,在浏览器中输入 localhost ,可以看到页面上显示 It works。(/Library/WebServer/Docu 阅读全文
posted @ 2016-11-29 08:43 archer-wong 阅读(498) 评论(0) 推荐(0) 编辑
摘要: 1.首先在官网下载 https://git-scm.com/download/mac 2.然后安装git(mac自带git) 3设置Git的user name和email: $ git config --global user.name "xxxxx" $ git config --global u 阅读全文
posted @ 2016-11-29 08:36 archer-wong 阅读(843) 评论(0) 推荐(0) 编辑