https://github.com/devigned/hab-rails-todo
Habitat + Rails + Ember + MongoDB Todo List Example
https://github.com/devigned/hab-rails-todo
Last synced: about 1 year ago
JSON representation
Habitat + Rails + Ember + MongoDB Todo List Example
- Host: GitHub
- URL: https://github.com/devigned/hab-rails-todo
- Owner: devigned
- License: mit
- Created: 2017-05-21T18:30:43.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-31T16:53:31.000Z (about 9 years ago)
- Last Synced: 2024-10-05T17:21:18.585Z (over 1 year ago)
- Language: Ruby
- Size: 229 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Demo Habitat + Kubernetes + CosmosDB + Rails + Ember Todo App
This demo will walk you through using Azure Container Service in Kubernetes mode
to deploy a Habitat packaged Rails / Ember application. The Rails application uses
MongoDB locally and CosmosDB in production.
## Prereqs
- Azure CLI
- Bash'y environment
## Structure of the Repository
### [Azure Provisioning](./azure)
This folder contains provision.sh, which will provision all of the Azure infrastructure needed.
This builds the following resources:
- Resource group to logically group resources
- Azure Container Service running in Kubernetes mode
- Azure Container Registry for private image hosting
- Azure CosmosDB running in MongoDB mode
The provisioning script will also install `kubectl` if it is not already on the path.
### [Habitat App Packaging](./habitat)
This folder contains all of the Habitat configuration and plans for packaging the Rails application.
### [Rails Application](./src)
This folder contains all of the Rails source code. The ember todo list application served from this
Rails app has been pre-built and is included in the public directory. You can find a version of the
Ember todo application here: https://github.com/devigned/level1/tree/master/api-ruby/todo-ember.
### [Demo Script](./demo.sh)
The `demo.sh` script contains the rough instructions for running the demo. I'm sure there are some missing
pieces, but it's pretty close.