Giter VIP home page Giter VIP logo

nemblog's Introduction

NEMBlog

Node.js + Express.js + Mysql

#Install

npm install

next install mysql and create database nemblog

next edit file config/db.json and update your database password

#Start Server cd [your server root]

node index.js when you see listening on port 3000 that is ok

#Init Admin Acount open http://localhost:3000/admin/install

just input username and password (like test/123456)

#Login input your username and password

#Write One Article after this you can open http://localhost:3000

nemblog's People

Contributors

9958 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

nemblog's Issues

编辑器使用隐式链接,重新编辑时会出现一堆html字符

集成[Python][python]脚本

[devs]: http://www.moguf.com/category/devs
[python]: http://www.moguf.com/category/python

上面代码再次进入编辑时会出现一堆html字符

集成[Python][python]脚本

[devs]: http://www.moguf.com/category/devs
[python]: http://www.moguf.com/category/python</string.h></python.h></module></stdin></dir></dir></string.h></python.h></python.h>

生成标签时分隔符中间有空格问题

标签使用逗号分割是,如果关键字中间有空格,会出现字符多于空格问题。
如 diy, c
这种情况会生成2个标签
[diy]
[** c**] <-- c前面会有个空格

NEMBlog的疑问

1:咱们的数据库的表是自动生成的吗?
2.为什么不直接操作mysql,而是用了sequelize,这个优势是什么;还有博客CMS中用到了他的一些什么特性;能否有相关的好的中文资料提交
3.咱们是用express4+,对 express4+方面进行了哪些方面的结构调整呢。

编辑器有bug

在标题行上加加粗符号后,右侧无法显示,不再相应任何左侧内容的修改。

## **2.4、分配内存(重点)**

如上面的代码。

提供长代码折叠功能

有时需要贴一些完整单元的代码,在看文档时并不需要显示出来。关键代码已经有说明,只有看官在想做测试时复制代码用。这种情况下可以不分散看官注意力。

最好能有个主分类

最好能有个主分类,然后能绑定二级玉米。那就太棒了。
比如:生活类、爱好类,开发类。。。
然后就变成 enjoy.xxx.com diy.xxx.com dev.xxx.com 这样不是很棒木。

models.sequelize.sync().then

models.sequelize.sync().then(function(){ var server = app.listen(app.get('port'),function(){ console.log('listening on port ' + server.address().port); }); });
models.sequelize.sync().then(function(){} 这个的作用是什么?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.