1.1.2 • Published 9 years ago

blog_webapp v1.1.2

Weekly downloads
-
License
ISC
Repository
-
Last release
9 years ago

#blog_webapp

##installation To install blog_webapp, call

npm install blog_webapp@latest

on the command line. This will install the module to the node_modules folder in your pwd.

##seeding the database Before you make your own posts, seed the database with some sample blog posts:

node node_modules/blog_webapp/seed.js

(Make sure the database is seeded before you run your server. Don't worry, editing and deleting posts is easy.)

##write your blog_webapp server

//   ./server.js
var Blogger = require('blog_webapp');
blogger = new Blogger();
blogger.init('8080'); //of course, you can use any port number you like.

##run the server

node server.js

Your homepage is (domainname)/post/

###You're ready to go.

##Syntax highlighting

to include highlighted code in your posts, wrap your code in this markup:

|~ lang=(programming language) ~|~ (code) ~|~ end ~|

1.1.2

9 years ago

1.1.1

10 years ago

1.1.0

10 years ago

1.0.9

10 years ago

1.0.8

10 years ago

1.0.7

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago