git clone https://github.com/billyct/ReportCMS.git
cd ReportCMS
sql文件在report.sql
./application/config/database.php
php -S localhost:8000 -t public 访问 localhost:8000
那么需要修改文件
- ./application/config/config.php ------- $config['base_url']
- ./public/admin_dir/js/scripts/init.js ------ base
- ./public/admin_dir/js/modules/admin.js ------- exports.base_url
- ./public/home_dir/js/functions.js -------- 有localhost:8000的地方都改成自己的就可以了~