Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixing the headers on the readme

  • Loading branch information...
commit d08b62b0d97f223c705715e6b95df881fc9fb586 1 parent f73dfdc
@stolksdorf authored
Showing with 8 additions and 8 deletions.
  1. +8 −8 README.md
View
16 README.md
@@ -1,12 +1,12 @@
-=Starting Out
+#Starting Out
-===Things to install
+###Things to install
- [Node.js](http://nodejs.org/download/)
- [npm](http://stackoverflow.com/questions/16000173/install-npm-node-js-package-manager-on-windows-w-o-using-node-js-msi)
- [MongoDB](http://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/)
-===Setting up the repo
+###Setting up the repo
- Create new repo on Github
- Clone it down, `git clone git@github.com:stolksdorf/sample_proj.git`
- 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
Please sign in to comment.
Something went wrong with that request. Please try again.