This repository has been archived by the owner on Nov 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 252
开发环境
wufeifei edited this page Oct 16, 2014
·
9 revisions
-
Mac XAMMP 国内下载地址:http://pan.baidu.com/s/1dDIk7HB
-
Linux LNMP
-
Windows Wamp SERVER
搭建线下开发环境具体步骤:Mac下
* 请确保拉取的是最新代码再进行以下操作
1.将代码拷贝到/Applications/XAMPP/xamppfiles/htdocs/grw
2.修改配置文件/Applications/XAMPP/xamppfiles/etc/httpd.conf将#Include etc/extra/httpd-vhosts.conf前面#号去掉
3.在文件/Applications/XAMPP/xamppfiles/etc/extra/httpd-vhosts.conf底部加入
<VirtualHost *:80>
DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs/grw"
ServerName www.grw.name
ErrorLog "logs/www.grw.name-error_log"
CustomLog "logs/www.grw.name-access_log" common
</VirtualHost>
2.重启Apache Web Server
3.修改/etc/hosts加入127.0.0.1 www.grw.name
4.输入/Applications/XAMPP/xamppfiles/bin/mysql -uroot -p双击回车进入数据库
5.打开127.0.0.1/phpmyadmin,导入->选择grw.sql
7.访问www.grw.name/admin.php?c=Grw&a=login
1.下载PhpStorm
2.选择File->New Project From Existing files选择网站目录
Copyright (C) 2014 Grw. All Rights Reserved