同步操作将从 answerdev/answer 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
docker run -d -p 9080:80 -v answer-data:/data --name answer answerdev/answer:latest
After selecting the language click next to select the appropriate database, if you just want to experience it currently, it is recommended to select sqlite as the database directly, as shown below
Then click next to create the configuration file, click next to enter the basic website information and administrator information, as shown below
Click Next to complete the installation
Login with the administrator username and password you just created.
mkdir answer && cd answer
wget https://raw.githubusercontent.com/answerdev/answer/main/docker-compose.yaml
docker-compose up
The exact configuration is the same as for docker use
https://github.com/answerdev/answer/releases Download the version you need for your current system
The following command -C specifies the data directory required for answer, you can modify it as you see fit
. /answer init -C . /answer-data/
Then visit: http://127.0.0.1:9080/install to install, the configuration is the same as using docker installation
After the installation is complete, the program will exit, so use the command to start the project formally
. /answer run -C . /answer-data/
After normal startup you can access http://127.0.0.1:9080/ to log in using the administrator username password specified during installation
answer-data
to name the volume, so if you don't need the original data again, please delete it voluntarily docker volume rm answer-data
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。