Skip to content

Instantly share code, notes, and snippets.

@yoshuawuyts
Last active December 27, 2015 17:48
Show Gist options
  • Save yoshuawuyts/7364467 to your computer and use it in GitHub Desktop.
Save yoshuawuyts/7364467 to your computer and use it in GitHub Desktop.

This is what a workflow should, and possibly will look like in the (very) near future:

Prerequisites
  • install node
  • install docker
  • know what's up
  • install yo
Step 1
  • yo docker
  • specify what's up
Step 2
  • yo backend
  • Instant BaaS (backend as a service)
Step 3
  • yo angular / yo ember / yo marionette
  • specify your view engine
  • specify your style engine
Step 4
  • grunt
  • build your app
Step 5
  • git push deploy
  • ???
  • profit

Time elapsed

  1. 20 seconds
  2. 30 seconds
  3. 20 seconds
  4. ??
  5. 10 seconds

Requirements

  • Generators should work together nicely
  • Docker needs to mature a bit (aka windows / OS-X support)
  • Docker providers should support heroku-style git pushes (step 5 only)

This is a different approach than the traditional setup of your server/glue code/database/user permissions/build files. BaaS might strike you as odd, but for small applications (think < 50 users) it might be just the thing you need. If you ever need to scale you can just swap REST backends, no sweat.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment