A laravel app to serve search engine friendly discuz! Q content.
- copy .env.example to .env and update config properly.
- run "php artisan key:generate" to generate app key.
- run "./dev_start.sh" to start local dev serving, the service will run on http://127.0.0.1:8000 by default, alternatively you can also serve this app by nginx with php-fpm.
- config nginx to forward search engine traffic to this app according to user-agent.
Tested on ubuntu 16.04, centos 7.6 and MacOS 10.15.
Laravel requires PHP 7.3 or above to run.
A Dockerfile is included in this repo. You can also use the "docker_build.sh" script to build a docker image and use the "docker_start.sh" script to run this app as a docker container.
- Jamesweng for https://mahjong.chat
- Contact: 6080901 (WeChat)