After the Dream Weaver program is completed, if you want to send it to others, you need to take out the database sql file and modify the database connection. After these few steps, the operation of the customer will not be very user-friendly. How to make the completed website , can be installed more conveniently, let me tell you below:
1. Open the install folder and perform the following 4 steps:
1. Delete index.html
2. Modify index.php.bak to index.php
3. Delete the install_lock.txt file
4. Change module-install.php.bak to module-install.php
2. Next is the key point. You need to export your database file. In this case, the user can directly install the database you have made, saving a lot of trouble
There are two files sql-dfdata.txt and sql-dftables.txt under the install folder
sql-dfdata.txt file is a data insertion file
sql-dftables.txt is to create data tables and field files
The next step is to export your database, pay attention to the steps
1. Open phpmyadmin, select Dreamweaver database, select export, and perform the following operations (as shown below)
Click Execute to copy the exported database information to the sql-dftables.txt file (this file is the operation of creating data tables and fields)
2. The next step is to export the data information, which is the insert statement
Then select Execute and save the exported data to the sql-dfdata.txt file
At this point, you can send your Dreamweaver to your customers, upload it to the space, directly execute http://domain name/install/, fill in the relevant information of the database, and you can install it.