GithubHelp home page GithubHelp logo

erlichmen / node-deployment Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bengourley/node-deployment

0.0 2.0 0.0 106 KB

Legacy version of my Node.js Deployment process

JavaScript 100.00%

node-deployment's Introduction

Notice!

I have since updated my deployment process. It is now named 'launch', has its own repository, and is available on npm. I highly recommend that you use that.

This repository only exists because there is a blog post that points to it, and it looks like some of you were hitting a 404 at this repo and getting confused (understandably). Please be aware that I won't be developing on this repository, but you can still get in touch if you want to talk about it.

Node Deployment

Screenshot:

Screen shot of deployment

Disclaimer: These files and their descriptions are very specific to my project setup. They will not work on your current setup!

Jakefile.js

This file lives in the project root. It is called by the post-receive hook and does most of the work.

package.json

This is a file standardised by npm. This means on any development environment, you can cd the project root and run:

npm install

This will install of the dependencies declared in the package.json file. The jakefile also automates this same task on the deployment environment.

post-receive

This is the git post-receive hook. Place it in the hooks directory in the git reposity of the project.

props.json

This is a sample json document outlining the build properties. It also lives in the site root /config

site.Sitename-state

This is the upstart daemon config. Place it in /etc/event.d/. State should be live/dev.

monitrc

This is the monit config. Place it in /usr/local/etc/monitrc. The all of the sites to be monitored can be placed in this monolithic file.

node-deployment's People

Contributors

bengourley avatar erlichmen avatar

Watchers

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