Skip to content
forked from jdx/node-sample

About

how to use node in production

Resources

Stars

0 stars

Watchers

1 watching

Forks

 
 

Latest commit

 

History

16 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-sample

A sample node app to demonstrate how to use node in production with ansible.

To use:

  • Edit the ansible inventory file at ansible/production to Fedora 20 servers that you can SSH into.
  • Run ./provision to provision the load balancer and application servers.
  • Go to /haproxy?stats on your load balancer (my_username/my_password). Your app servers should be red and marked as down.
  • Run ./deploy to deploy your code. In the haproxy stats you should see them marked as green. Going to the root of the load balancer should show the node app.t

About

how to use node in production

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages