Giter VIP home page Giter VIP logo

nodejsex's Introduction

deployed on cloud heroku devcenter using mongo cloud database(mongolab): set in heroku dashboard variable MONGODB_URL (see config/databaseMongo.js) or DATABASE_URL for postgres https://secure-badlands-6804.herokuapp.com/board https://secure-badlands-6804.herokuapp.com/login https://secure-badlands-6804.herokuapp.com/register

npm install (like bundle)

test app locally /usr/local/share/gems/gems/foreman-0.78.0/bin/foreman start web

push local changes to heroku repo git add . git commit -m "Demo" git push heroku master

../heroku-client/bin/heroku login ../heroku-client/bin/heroku open

create a database(postgres) ../heroku-client/bin/heroku addons:docs heroku-postgresql

https://devcenter.heroku.com/articles/getting-started-with-nodejs#view-logs

../heroku-client/bin/heroku restart ../heroku-client/bin/heroku logs --tail ../heroku-client/bin/heroku pg:psql

Documentation

For more information about using Node.js on Heroku, see these Dev Center articles:

nodejsex's People

Contributors

zeke avatar raul avatar samccone avatar hunterloftis avatar jonmountjoy avatar theneva avatar r0mdau avatar

Watchers

James Cloos 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.