This repo contains an example node
application that stores data in
mongo
. Shout out to the original author,
scotch-io.
The following instructions will walk you through using blimp
to develop in
the cloud.
git clone https://github.com/kelda-inc/node-todo
curl -fsSL 'https://kelda.io/install-blimp.sh' | sh
This creates an isolated sandbox that your Docker containers will run in.
blimp login
blimp up
This will boot the node
and mongo
containers. Once they're up, access the
todo UI at http://localhost:8080, and a couple todo tasks.
If you have docker
installed locally, and want to try the image building
feature, run blimp up -f ./docker-compose-local-build.yml
instead.
Open app/routes.js
in your preferred text editor, uncomment the code on line
12, and save the file.
Kelda Blimp will sync the change into the container, and nodemon
will restart
the Node server.
Reload http://localhost:8080. You will now see each todo prepended with "Kelda:"
blimp ps
blimp logs web
blimp ssh web
Boot a personal demo copy of node-todo from your browser without downloading or setting up anything.
Clicking the link boots this repo in the Blimp cloud, and creates a public URL for you to access it.