Skip to content
Browse files

Fixing the headers on the readme

  • Loading branch information...
1 parent f73dfdc commit d08b62b0d97f223c705715e6b95df881fc9fb586 @stolksdorf committed
Showing with 8 additions and 8 deletions.
  1. +8 −8
@@ -1,12 +1,12 @@
-=Starting Out
+#Starting Out
-===Things to install
+###Things to install
- [Node.js](
- [npm](
- [MongoDB](
-===Setting up the repo
+###Setting up the repo
- Create new repo on Github
- Clone it down, `git clone`
- Create a new app at Heroku
@@ -15,7 +15,7 @@
- `git push origin heroku` deploys your app to Heroku
-===Getting Configured
+###Getting Configured
- Run `npm init` to setup your `packages.json`. Fill out whatever you like, but we're using `app.js` as the entry point
- Pull in needed Node packages.
- `npm install ejs --save`
@@ -26,16 +26,16 @@
- Add MongoDB to your project. `heroku addons:add mongohq`
- Copy in `modules`, `public`, `views`, app.js`, `Procfile`
-===Run your App
+###Run your App
- `node app.js` will start your server listening on port 5000
- Go to `localhost:5000` to see your app in action.
- To see changes in server-side code, you'll you'll need to restart the server. `ctrl+C` + `node app.js`
- To see changes in client-side code, just refresh the web page
-=Structure Explained
+#Structure Explained
-===Server Side
+###Server Side
- `modules` - Where all your server side JS is kept.
- `modules/models` - DB models here. Include in a schema, statics, and methods
- `modules/middleware.js` - Middleware is code that's ran within an async stack. Things like: `request -> [load user -> is user admin?] -> return page.` Middleware is in the brackets.
@@ -45,6 +45,6 @@
- 'Procfile' - Command(s) that Heroku will run when it spins up a dyno.
-===Client Side
+###Client Side

0 comments on commit d08b62b

Please sign in to comment.
Something went wrong with that request. Please try again.