<!DOCTYPE html>
<html lang="en">
<head>
<title>Map of National Parks</title>
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css"/>
<script src="https://code.jquery.com/jquery-2.0.0.min.js"></script>
<link href='https://fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css'>
widget_world: Setting build environment
mkdir: created directory '/hab/cache/src/widget_world-0.1.0'
widget_world: Setting PREFIX=/hab/pkgs/core/widget_world/0.1.0/20180507224750
widget_world: Setting LD_RUN_PATH=/hab/pkgs/core/ruby/2.4.2/20171014214232/lib:/hab/pkgs/core/node/8.11.1/20180504222455/lib:/hab/pkgs/core/libxml2/2.9.6/20171025112053/lib:/hab/pkgs/core/libxslt/1.1.31/20171025112227/lib:/hab/pkgs/core/postgresql/9.6.8/20180423183113/lib
widget_world: Setting CFLAGS=-I/hab/pkgs/core/ruby/2.4.2/20171014214232/include -I/hab/pkgs/core/node/8.11.1/20180504222455/include -I/hab/pkgs/core/libxml2/2.9.6/20171025112053/include -I/hab/pkgs/core/libxslt/1.1.31/20171025112227/include -I/hab/pkgs/core/postgresql/9.6.8/20180423183113/include -I/hab/pkgs/core/gcc/5.2.0/20170513202244/include -I/hab/pkgs/core/make/4.2.1/20170513214620/include -I/hab/pkgs/core/ruby/2.4.2/20171014214232/include
widget_world: Setting CXXFLAGS=-I/hab/pkgs/core/ruby/2.4.2/20171014214232/include -I/hab/pkgs/core/node
[7][default:/src:0]# build scaffolding-ruby
: Loading /src/scaffolding-ruby/plan.sh
scaffolding-ruby: Plan loaded
scaffolding-ruby: Validating plan metadata
scaffolding-ruby: Using HAB_BIN=/hab/pkgs/core/hab/0.54.0/20180221022026/bin/hab for installs, signing, and hashing
scaffolding-ruby: hab-plan-build setup
scaffolding-ruby: Writing pre_build file
scaffolding-ruby: Resolving build dependencies
» Installing core/coreutils from channel 'stable'
Testing habitat-sh/core-plans#1146
(Manual steps are based on https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-in-ubuntu-16-04)
$ mkdir php-test
$ cd php-test
$ vim index.php
Brief description of package
Names of core plans maintainers (The Habitat Maintainers [email protected] is usually sufficient)
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
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
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.
- framework that sits ontop of Node.js's web server and makes it easier to use (Source: Express in Action)