Created
March 23, 2015 13:49
-
-
Save szamuboy/e2c01309f3f4a63ea054 to your computer and use it in GitHub Desktop.
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
$ cd $GOPATH | |
$ git clone http://github.com/szamuboy/mingo.git | |
Cloning into 'mingo'... | |
remote: Counting objects: 7, done. | |
remote: Compressing objects: 100% (5/5), done. | |
remote: Total 7 (delta 0), reused 4 (delta 0), pack-reused 0 | |
Unpacking objects: 100% (7/7), done. | |
Checking connectivity... done. | |
$ cd mingo | |
$ apc app create | |
APC encountered an unexpected internal error running "apc app create" | |
Please post about an internal error running APC version "0.16.3" during "apc app create" at: | |
> https://groups.google.com/d/forum/continuum-by-apcera | |
$ mv continuum.conf continuum.conf.bak | |
$ apc app create mingo | |
Deploy path [.../mingo]: | |
Instances [1]: | |
Memory [256MB]: | |
╭──────────────────────────────────────────────────────╮ | |
│ Application Settings │ | |
├───────────────────┬──────────────────────────────────┤ | |
│ FQN: │ job::/sandbox/developer::mingo │ | |
│ Directory: │ .../mingo │ | |
│ Instances: │ 1 │ | |
│ Staging Pipeline: │ (will be auto-detected) │ | |
│ CPU: │ 0ms/s (uncapped) │ | |
│ Memory: │ 256MB │ | |
│ Disk: │ 1024MB │ | |
│ Network: │ 5Mbps │ | |
│ Netmax: │ 0Mbps (uncapped) │ | |
│ Route: │ mingo.xxx.continuum-demo.io │ | |
│ Startup Timeout: │ 30 (seconds) │ | |
╰───────────────────┴──────────────────────────────────╯ | |
Is this correct? [Y/n]: | |
Packaging... done | |
Creating package "mingo"... done | |
Uploading package contents... 100% | |
[staging] Subscribing to the staging process... | |
[staging] Beginning staging with 'stagpipe::/apcera::go' pipeline, 1 stager(s) defined. | |
[staging] Launching instance of stager 'go'... | |
[staging] Checking build dependencies... | |
[staging] Adding build dependencies... [go, build-essential] | |
[staging] Stager needs relaunching | |
[staging] Launching instance of stager 'go'... | |
[staging] Checking build dependencies... | |
[staging] Downloading packages for processing... | |
[staging] Go src copied to: mingo | |
[staging] Please try staging again. | |
[staging] go install: no install location for directory /opt/apcera/go/mingo outside GOPATH | |
[staging] Error running [go install] | |
[staging] Staging pipeline has been aborted | |
[staging] "package::/sandbox/developer::mingo" has failed to stage | |
Failed package was deleted. | |
Error: Staging has failed. | |
Try `apc help` for more information. | |
$ unset GOPATH | |
$ apc app create | |
Packaging... done | |
Creating package "mingo"... done | |
Uploading package contents... 100% | |
[staging] Subscribing to the staging process... | |
[staging] Located application manifest | |
[staging] Beginning staging with 'stagpipe::/apcera::go' pipeline, 1 stager(s) defined. | |
[staging] Launching instance of stager 'go'... | |
[staging] Checking build dependencies... | |
[staging] Adding build dependencies... [go, build-essential] | |
[staging] Stager needs relaunching | |
[staging] Launching instance of stager 'go'... | |
[staging] Checking build dependencies... | |
[staging] Downloading packages for processing... | |
[staging] Go src copied to: src/app | |
[staging] Copying binaries into place. | |
[staging] Removing build dependencies... [go, build-essential] | |
[staging] Staging is complete. | |
Creating app "mingo"... done | |
Start Command: ./app | |
App may be started with: | |
> apc app start mingo | |
Success! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment