- This website has been archived, please using React version and acquiring a key for requesting data.
- 本站点已经不再提供支持,请使用React版本,并申请新的数据密钥后以正常使用
This website is based on CakePHP 3.9. 本站点基于 CakePHP 3.9. 搭建
- 下载 Composer 或使用
composer self-update
更新. - 安装
php-mysql, php-intl, php-mbstring php-xml php-xmlrpc
- 运行
php composer.phar install
. (如果全局安装了composer, 则在目录内运行composer install
). - 向管理员获取您的数据源密钥
- 填写您的网站域名地址和数据源密钥到
src/Template/Pages/home.ctp
文件的头两行 - 执行以下命令以能本机访问或者可以发布到公网访问
bin/cake server -p 8765
然后访问http://localhost:8765
即可访问网站.
- Download Composer Or running bash with
composer self-update
if you already have composer installed. - Install
php-mysql, php-intl, php-mbstring php-xml php-xmlrpc
- Running
php composer.phar install
(If composer installed globally, runcomposer install
under project folder). - Acquiring the datakey from your salesman.
- Input your datakey to head of file
src/Template/Pages/home.ctp
- Then you can execute following commands to preview it. Or you can publish with your CMS.
bin/cake server -p 8765
Then visit http://localhost:8765
to see the welcome page.