Skip to content

Begin creating a deployment process for Meteor applications

License

Notifications You must be signed in to change notification settings

yourse1f-yourorg/habitat_attempt

Repository files navigation

MetHabi

A deployment process for Meteor applications, built from Chef Habitat

Specific Task. Standard Tools.

Overview

MetHabi works in several phases :

  1. Initial hook up to your target server
  2. First time deployment
  3. Subsequent deployments

Initial Hook Up

MetHabi needs to create a user account hab on your target server. This account will have passwordless sudo privileges for running Chef Habitat. It also needs to install the Habitat executable also called hab.

The script CommissionHabitatHost.sh attempts to connect to the target server and upload a remotely callable shell script PrepareChefHabitat.sh.

PrepareChefHabitat.sh creates a user called hab and then obtains hab and prepares it for use.

First Deployment

MetHabi

Steps

  1. Install Meteor -- curl https://install.meteor.com/ | sh
  2. Install nvm -- curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.6/install.sh | bash
  3. Ensure we have g++ -- sudo apt install -y g++
  4. Install NodeJS 4.4.7 -- nvm install v4.4.7
  5. Clone our simple-todos -- git clone https://github.com/yourse1f-yourorg/simple-todos
  6. Prepare it -- cd simple-todos && npm install
  7. Check it -- meteor
  8. Find the MongoDB, NodeJS and NginX packages on https://app.habitat.sh
  9. billmeyer/mongodb
  10. looprock/node
  11. core/nginx

About

Begin creating a deployment process for Meteor applications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages