1 Preparation ResourcesMdwiki the base Package HTTP server (application server can also, the application server is required because Mdwiki must be run under the HTTP server.) )
For the above resources, please download your own O (∩_∩) o~ first. 2 Creating the Chinese environment
Mdwiki Base Package Structure:
Rename the project folder to *-wiki (you can also take your favorite name, O (∩_∩) o). LL_CC is a template directory, do not use directly, so as to facilitate later mdwiki updates and upgrades. So we have a full copy of the LL_CC directory and then change the folder to ZH_CN. So we create a Chinese directory environment. If you want your wiki to support multiple languages, it is recommended that you refer to the International Language Code table and then copy multiple copies of LL_CC and place them in the root directory. 3 put in HTTP server
The environment shown here is:
* Tomcat Server
* Idea Editor
* Git (for page hosting)
Specifically, the process of building the server, not here, we can check more information on the Internet. O (∩_∩) o~
One thing to note is that in order for IntelliJ idea to support markdown syntax, we have to install a plugin.
After the plug-in is successfully installed, you can enjoy the markdown syntax highlighting and WYSIWYG dual-screen interface:
After you have designed the paging file, you can put it directly into the ZH_CN folder.
Note: The file suffix must be md oh O (∩_∩) o~ 4 Run
When you visit Http://localhost:port/zh_CN, the page jumps to http://localhost:port/zh_CN/#index. MD; Note this is not index.html.
If you see this page, then congratulations, your markdown Wiki system has been built successfully o (∩_∩) o
If white screen appears, it may be because the project depends on the jquery file is blocked, open the zh_cn/index.html file, modify the JQuery path:
<script type= "Text/javascript" src= "//code.jquery.com/jquery-1.12.4.min.js" ></script>
And then turn it back on, and you can use the O (∩_∩) o~