PublicCMS website building system v5.202406.e
5.202406.e
mysql 5.5 and above
doc document
publiccms-parent project source code
Compile and run to ensure that the operating system has jdk1.8 or above.
cd publiccms-parentmvnw clean packagecd publiccms/targetjava -jar publiccms.warVisit the program page http://localhost:8080/publiccms/, configure and initialize the database management background according to the page prompts, and access the relative path to http://localhost:8080/publiccms/admin/. The built-in administrator account/password of the data script is: admin /admin
Directly download the executable program from the network disk (https://www.publiccms.com/download.html) Prepare java and mysql environments locally, download the executable program, compress and decompress it and run startup.bat or startup.shwindows startup command
java -jar -Dfile.encoding="UTF-8" -Dcms.port=8080 -Dcms.contextPath=/publiccms -Dcms.filePath="%cd%datapubliccms" publiccms.warlinux startup command
java -jar -Dfile.encoding="UTF-8" -Dcms.port=8080 -Dcms.contextPath=/publiccms -Dcms.filePath="`pwd`/data/publiccms" publiccms.war For more parameters and meanings, please refer to Run the deployment manual tomcat and rename publiccms.war.original to publiccms.war or ROOT.war (the context path is /), and move the file to the webapps directory of tomcat. At this time, the -Dcms.filePath parameter is still valid.Run directly in docker:
docker run -d -p 8080:8080 sanluan/publiccmsBuild the image yourself: Execute
docker build -t mypubliccms .docker run -d -p 8080:8080 mypubliccmsDemo account/password test/test
Public CMS architecture diagram
Public CMS management background
Public CMS Management
Public CMS Management バックグラウンド