- User is on app.habitat.sh
- User signs in
- User clicks on "Origins" in side menu
- User clicks on a specific origin
- User clicks on "Upload public origin key"
Code for "Upload public origin key" button
(Based on this tutorial)
$ express --git my_app
$ cd my_app
$ npm install
$ vim routes/index.js
I need to know how core/scaffolding-node figures out what version of node to use.
Normally, I would expect core/scaffolding-node to have a direct dependency on core/node, but it does not appear to.
core-plans/scaffolding-node/plan.sh
pkg_deps=(core/tar core/jq-static core/rq)
This documents various ways of deploying/running Node JS applications including Express, React, and Angular. This is intended to help brainstorm how to make node scaffolding work better for Habitat.
Running docker exporter locally with local builder
$ sudo cargo run core-sample-node-app-1.0.1-20180104232800-x86_64-linux.hart -- --url http://localhost:9636
Creating, Running, Destroying hab studio in a location
hab studio -r /opt/slim new
thread 'main' panicked at 'could not export.: "Is a directory (os error 21)"', /checkout/src/libcore/result.rs:906:4
stack backtrace:
0: std::sys::imp::backtrace::tracing::imp::unwind_backtrace
at /checkout/src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:49
1: std::sys_common::backtrace::_print
at /checkout/src/libstd/sys_common/backtrace.rs:69
2: std::panicking::default_hook::{{closure}}
at /checkout/src/libstd/sys_common/backtrace.rs:58
at /checkout/src/libstd/panicking.rs:381
Brief description of package
Names of core plans maintainers (The Habitat Maintainers [email protected] is usually sufficient)