Last active
August 29, 2015 14:13
-
-
Save waylonflinn/48252f7e3b98f3e5619f to your computer and use it in GitHub Desktop.
setup a joyent smart machine to work with the joy-pusher npm module
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/bash | |
# pass in a single argument with the name of the project | |
mkdir git | |
mkdir git/$1 | |
mkdir apps | |
mkdir apps/$1 | |
mkdir deployments | |
#mkdir deployments/$1 | |
# copy the manifest file | |
# mv manifest.xml $1.xml | |
# edit the manifest file | |
# load the manifest file | |
# svccfg import $1.xml | |
# useful commands | |
# svcadm enable <name> | |
# svcadm restart <name> | |
# svcs -a | grep <name> | |
# logs are in /var/svc/log/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment