https://github.com/burtlo/habitat-haikus
Habitat Project that builds a HAProxy -> Express JS App -> MongoDB
https://github.com/burtlo/habitat-haikus
angular express habitat haproxy mean mongodb nodejs
Last synced: 3 months ago
JSON representation
Habitat Project that builds a HAProxy -> Express JS App -> MongoDB
- Host: GitHub
- URL: https://github.com/burtlo/habitat-haikus
- Owner: burtlo
- Created: 2017-10-12T03:52:25.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-23T18:40:23.000Z (over 8 years ago)
- Last Synced: 2025-10-31T10:46:33.971Z (8 months ago)
- Topics: angular, express, habitat, haproxy, mean, mongodb, nodejs
- Language: JavaScript
- Homepage:
- Size: 41 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Haiku Composer
This web application allows you to compose haikus.

## 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.