1.1.2 • Published 8 years ago

blog_webapp v1.1.2

Weekly downloads
-
License
ISC
Repository
-
Last release
8 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

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.9

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago