Run the project to the local environment and mysql configuration

1. Add the local domain name
C:\Windows\System32\drivers\etc\hosts

127.0.0.1 local.v7.com


2. Add an apache virtual site
D:\wamp64\bin\apache\apache2.4.23\conf\extra\httpd-vhosts.conf

<VirtualHost *:80>
ServerName local.v7.com
DocumentRoot "D:\wamp64\www\StartKit"
<Directory "D:\wamp64\www\StartKit">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
</Directory>
</VirtualHost>

3. Modify the configuration
D:\wamp64\www\StartKit\data\config.php

$webdb['www_url']='http://local.v7.com/';

D:\wamp64\www\StartKit\data\mysql_config.php

$dbhost = 'localhost'; // database server (generally do not need to be changed)
$dbuser = 'root'; // database username
$dbpw = ''; // database password
$dbname = 'kedongli_gw'; // database name
$ pre='qb_'; // website table specifier

4. Create a new database kedongli_gw and import the database file

show databases; view all databases

Create a new database createdatabase databasename default character set utf8mb4 COLLATE utf8mb4_unicode_ci;

use databasename; enter the current database

source d:\kdl.sql; import backup file

show tables; view the tables in the current database

exit; exit

restart the server

 

5.svn installation tutorial

http://xinzhi.wenda.so.com/a/1517899588203200

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325249645&siteId=291194637