update node install path
This commit is contained in:
parent
6a7273907b
commit
002c0059eb
|
@ -171,9 +171,6 @@ install_service()
|
||||||
set -e
|
set -e
|
||||||
set -u
|
set -u
|
||||||
|
|
||||||
# Dependencies
|
|
||||||
dap_dl_bash "https://git.daplie.com/coolaj86/node-install-script/raw/master/setup-min.sh"
|
|
||||||
|
|
||||||
# Install
|
# Install
|
||||||
# TODO install to tmp location, then move to /opt
|
# TODO install to tmp location, then move to /opt
|
||||||
export NODE_PATH=/opt/goldilocks/lib/node_modules
|
export NODE_PATH=/opt/goldilocks/lib/node_modules
|
||||||
|
@ -184,6 +181,9 @@ $sudo_cmd mkdir -p /srv/www
|
||||||
$sudo_cmd mkdir -p /var/www
|
$sudo_cmd mkdir -p /var/www
|
||||||
$sudo_cmd mkdir -p /opt/goldilocks/{lib,bin,etc}
|
$sudo_cmd mkdir -p /opt/goldilocks/{lib,bin,etc}
|
||||||
|
|
||||||
|
# Dependencies
|
||||||
|
dap_dl_bash "https://git.daplie.com/coolaj86/node-install-script/raw/master/setup-min.sh"
|
||||||
|
|
||||||
# Change to user perms
|
# Change to user perms
|
||||||
|
|
||||||
# OS X or Linux
|
# OS X or Linux
|
||||||
|
|
Loading…
Reference in New Issue