# vanillaBlog **Repository Path**: guanhui07/vanillaBlog ## Basic Information - **Project Name**: vanillaBlog - **Description**: 使用openresty做的博客 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 3 - **Created**: 2016-05-16 - **Last Updated**: 2020-12-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 使用vanilla做的一个简单博客 > 用于记录学习vanilla的入门demo * 1、mysql数据库操作(参考了OrChina里面的代码) * 2、文件上传(参考了OrChina里面的代码) github 地址 https://github.com/sumory/openresty-china * 3、session 的使用 * 4、vanilla 插件使用 * 5、vanilla restful路由的使用 ###前台地址: > http://114.215.93.85:9110/ ###后台地址: > http://114.215.93.85:9110/admin/login 账号:mind,密码 :123456 代码中写死的。 ### 采用 vanilla的版本:V0.1.0-rc4.1 > 如果使用rc4的话,需要先解决几个bug * 1、 https://github.com/idevz/vanilla/issues/52 vanilla 简单路由 和 restful 路由 不能同时启用的bug * 2、 https://github.com/idevz/vanilla/issues/37 生产模式下获取不到restful里面的参数 ###vanilla常见问题 * 1、参考: https://github.com/idevz/vanilla/issues?q=is%3Aissue+is%3Aclosed 里面提到的问题和解决办法 * 2、模板html标签不解析: 如果想要解析html必须 必须使用 {* html变量 *},而不是 {{ 变量 }}