同步操作将从 SurveyKing/SurveyKing 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
English | 简体中文
Based on Ali's open source formily form solution self-developed survey editor, using the latest front-end and back-end technology (React+SpringBoot+AntDesignUI) to build a complete survey system.
SurveyKing is one of the known open source survey systems that has the most powerful functions, the simplest installation, and the best comprehensive experience.
Simple, Easy to use, and Professional are the continuous development concepts of SurveyKing. Large and medium-sized enterprises and even individuals can use SurveyKing to quickly build their own online survey system.
Currently adapted to h2 database and mysql database
Click Download surveyking-h2 version to the local
Click Download surveyking-mysql version to the local
The h2 version of the installation package is built by default.
# Download source code
git clone https://github.com/javahuang/SurveyKing.git
# Start building
gradle clean :api:build -P pro -x test
# start operation
java -jar api/build/libs/surveyking-v0.1.0.jar
When you start the SurveyKing mirroring, you can specify the SurveyKing mount parameters and save the log files and built-in database to your local. (There are still some problems with the docker version, to be resolved)
docker run -p 1991:1991 surveyking/surveyking
# Mount data file
docker run -p 1991:1991 -v /surveyking:/surveyking surveyking/surveyking
Since this system is built in Java, it needs to rely on the Java runtime environment, which can be downloaded via Java download for all operating systems to pre-install the java environment.
Follow the instructions below to configure different databases. If the front-end needs to be deployed with nginx, refer to using nginx to deploy the front-end.
Windows and mac support double-click to run, or open a command line window to execute the following commands
java -jar surveyking-v0.1.0.jar
Open the browser and visit http://localhost:1991. After the system is started for the first time, the admin user, account/password (admin/surveyking) will be created automatically, and the password can be changed through the user management interface after logging in to the system.
Without any configuration, the database startup script will be created automatically. If you need to change the port number, refer to the defined port of mysql startup mode.
application.properties
file under the current directory.server.port=1991 # Port number (optional, default 1991)
spring.datasource.url=jdbc:mysql://<ip>:<port>/<dbname> # Database connection address, replace with your mysql database address
spring.datasource.username=username # Database account (required)
spring.datasource.password=password # database password (required)
Download static resource files under this directory and deploy directly to nginx.
Then configure the proxy to proxy to the back-end api service.
Demo address: https://surveyking.cn
Click Try it, no need to register and log in (-_-||, the server bandwidth is only 1M, maybe the first load is slightly slower)
The back-end code is completely open source, and the front-end code will have an open source plan after it is stabilized. If you find it helpful, you can click the star in the upper right corner.
If you encounter any problems or suggestions, Please send me an issue.
SurveyKing is open source software licensed as MIT.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。