Skip to content

Habitat Project that builds a HAProxy -> Express JS App -> MongoDB

Notifications You must be signed in to change notification settings

burtlo/habitat-haikus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Haiku Composer

This web application allows you to compose haikus.

Website

Build

Install Habitat

# Enter the Habitat Studio
$ hab studio enter

$ build haproxy
$ hab pkg export docker results/YOURORG-haproxy....hart

$ build haikus
$ hab pkg export docker results/YOURORG-haikus....hart

# The mongodb image has already been posted to Docker
# So it does not need to be built.
# I also had a hard time trying to build it.
# https://github.com/habitat-sh/core-plans/issues/856
# And I've heard that it takes a long time to build
# https://github.com/habitat-sh/core-plans/issues/202

$ exit

Deploy

Install Docker and Docker Compose

Update the docker-compose.yml to use YOURORG instead of mine.

Run

$ docker-compose up

I had to restart it once because something didn't start in the right order.

About

Habitat Project that builds a HAProxy -> Express JS App -> MongoDB

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published