chemdemo / nodeblog Goto Github PK
View Code? Open in Web Editor NEWA lightweight blog system built with nodejs.
Home Page: http://blog.dmfeel.com
A lightweight blog system built with nodejs.
Home Page: http://blog.dmfeel.com
package.json 文件中有些依赖包写成“*”:
"dependencies": {
"express": "3.0.6",
"mongodb": "*",
"mongoose": "*",
"validator": "*",
"async": "*",
"eventproxy": "*",
"connect-domain": "~0.5.0",
"underscore": "~1.5.1",
"consolidate": "~0.9.1",
"highlight.js": "~7.3.0",
"marked": "~0.2.9",
"swig": "~1.0.0-rc1",
"connect-redis": "1.4.7"
},
以上, 建议使用具体版本(或相近版本)替换“*”, 如:其中的 “validator” 模块 2.X 开始就将 “XSS ”方法移除;而您代码里使用“xss”方法, 导致 npm install 安装最新版(3.X)时代码无法正常执行。
(本人将 "validator"设置为1.x版本后解决)
/web/edit.html
/web/index.html
/web/post.html
以上三个 文件不是库文件, 为什么要忽略他们的更新?
而且现有的代码里也没用它们吧?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.