GithubHelp home page GithubHelp logo

dewmap-blog's Introduction

##Git Setup

bretto git init
touch README
git add README
git commit -m 'first commit'
git remote add origin https://github.com/Bretto/dewmap-blog.git
git push -u origin master

##Heroky Setup https://devcenter.heroku.com/articles/nodejs
heroku login

###include

.gitignore   
package.json  
Procfile  
web.js   

npm install

####Run app localy

#####start mongodb:
mongod --dbpath /Users/Separ8/Sites/mongodb

#####start nodejs:
node web.js

cd public compass watch

https://github.com/alexch/rerun
rerun foreman start
ctrl c to stop test: http://localhost:5000/

###Deploy to Github git add .
git gui git commit -m "init"
git push origin master

###Deploy to Heroku heroku create
git push heroku master
heroku ps:scale web=1
heroku logs
heroku config:add NODE_ENV=production
heroku addons:add mongolab:starter
heroku ps
heroku restart
heroku open

##Implement Compass compass create
compass watch

##Start MongoDB localy http://www.mongodb.org/display/DOCS/Overview+-+The+MongoDB+Interactive+Shell
mongod --dbpath /Users/Separ8/Sites/mongodb
mongo in the shell: mongo

show dbs	 displays all the databases on the server you are connected to
use db_name	 switches to db_name on the same server
show collections	 displays a list of all the collections in the current database
db.post.find(); show all content of collection 

##Mongodb Node Native Driver http://mongodb.github.com/node-mongodb-native/api-generated/

##Resources http://vimeo.com/38136668

dewmap-blog's People

Contributors

bretto avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.