Commit graph

13 commits

Author SHA1 Message Date
joeduffy
d55acad652 Add a workspace file to our demo
This just sets the default cloud provider to AWS.
2016-11-22 09:50:53 -08:00
joeduffy
7f712243f7 Demonstrate hypothetical mu/app type in the demo 2016-11-22 08:58:06 -08:00
joeduffy
efe69a2e2c Explicitly declare the demo's dependencies 2016-11-18 16:52:51 -08:00
joeduffy
d44a2c95ff Update the demo script to reference the DSL 2016-11-16 18:06:46 -08:00
joeduffy
001bcc097d Make a few updates to the demo Mu.yaml so that it compiles 2016-11-16 18:05:59 -08:00
joeduffy
19d5fcbd93 Fix a lambda typo in the demo code 2016-11-07 17:03:32 -08:00
joeduffy
8ce0ff95e9 Remove the Dockerfile from demo1/build2
The Mu stack stands alone and hence doesn't require a Dockerfile.
2016-11-07 17:02:36 -08:00
joeduffy
c208ab65bb Replace Mu.yaml service description with a "source" directive 2016-11-07 10:16:11 -08:00
joeduffy
7323436760 Rearrange demo directory so the "build" variants stand alone 2016-11-07 10:15:38 -08:00
joeduffy
736008168d Add two variants to the Mu demo
This adds two hypothetical variants to the Mu demo, "building" new capabilities
up from the basic Express and MongoDB app we start with:

1) The first variant is to leverage the Mu SDK for service discovery and
   configuration, eliminating the "loosely typed" approach that is common with
   Docker (e.g., having to fetch connection URLs from arguments, environment
   variables, etc).  This extends the Mu type system "into" the Docker container,
   whereas previously it stopped at the boundary.

2) The second variant really takes this to the next level, embellishing the nice
   DSL-like approach.  In this model, infrastructure is expressed in code.
2016-11-07 09:37:47 -08:00
joeduffy
31717d5f95 Eliminate manual persistence from demo Mufile
Instead of manually creating a volume, we will arrange for the mongodb/mongodb
to auto-mount a mu/x/fs/volume, as per [the cloud-neutral design doc](/docs/xcloud.md).
2016-11-06 12:36:28 -08:00
joeduffy
ea707cab68 Add a reminder to figure out Security metadata in Mufiles 2016-11-04 15:43:03 -07:00
joeduffy
7e26ab050d Add the "demo1" example app
This just adds a simple voting app for the demo script.  It leverages
a Node.js Express app for the frontend and a MongoDB database for the backend.
It conditionally provisions and attaches to an AWS Elastic Block Store volume
in the event that it's targeting an AWS cluster, and ephemeral storage otherwise.
2016-11-04 12:17:46 -07:00