Created
October 29, 2020 12:06
-
-
Save jbayer/5632c371293986325b001b0bc908d55f 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
$ waypoint init -from-project=github.com/hashicorp/waypoint-examples/docker/static -into=waypoint-static | |
Initializing local application from remote location: | |
Location: github.com/hashicorp/waypoint-examples/docker/static | |
Directory: ./waypoint-static | |
Project fetched into './waypoint-static' | |
$ cd waypoint-static/ | |
$ waypoint init | |
✓ Configuration file appears valid | |
✓ Connection to Waypoint server was successful | |
✓ Project "nginx-project" and all apps are registered with the server. | |
✓ Plugins loaded and configured successfully | |
✓ Authentication requirements appear satisfied. | |
Project initialized! | |
You may now call 'waypoint up' to deploy your project or | |
commands such as 'waypoint build' to perform steps individually. | |
$ waypoint up | |
» Building... | |
✓ Initializing Docker client... | |
✓ Building image... | |
│ 19686354cb84: Pull complete | |
│ Digest: sha256:6e4fc428f9f25f1914e43dc2e75ff3be574141734509111282a3a050a420d94c | |
│ Status: Downloaded newer image for nginx:stable | |
│ ---> b5390718bd8e | |
│ Step 2/3 : COPY ./public/ /var/www | |
│ ---> 8eb12341e55d | |
│ Step 3/3 : COPY ./nginx.conf /etc/nginx/conf.d/default.conf | |
│ ---> 4cc7b980adce | |
│ Successfully built 4cc7b980adce | |
│ Successfully tagged waypoint.local/web:latest | |
✓ Injecting Waypoint Entrypoint... | |
» Deploying... | |
✓ Setting up waypoint network | |
✓ Starting container | |
✓ App deployed as container: web-01ENT33XRQWT8W7XV79SB57CD2 | |
» Releasing... | |
The deploy was successful! A Waypoint deployment URL is shown below. This | |
can be used internally to check your deployment and is not meant for external | |
traffic. You can manage this hostname using "waypoint hostname." | |
URL: https://manually-clean-polliwog.waypoint.run | |
Deployment URL: https://manually-clean-polliwog--v1.waypoint.run | |
$ cd .. | |
$ rm -rf /tmp/waypoint-static/ | |
$ waypoint init -from-project=github.com/hashicorp/waypoint-examples/docker/static -into=waypoint-static | |
Initializing local application from remote location: | |
Location: github.com/hashicorp/waypoint-examples/docker/static | |
Directory: ./waypoint-static | |
Project fetched into './waypoint-static' | |
$ cd waypoint-static/ | |
$ waypoint init | |
✓ Configuration file appears valid | |
✓ Connection to Waypoint server was successful | |
✓ Project "nginx-project" and all apps are registered with the server. | |
✓ Plugins loaded and configured successfully | |
✓ Authentication requirements appear satisfied. | |
Project initialized! | |
You may now call 'waypoint up' to deploy your project or | |
commands such as 'waypoint build' to perform steps individually. | |
jamess-mbp-3:waypoint-static jamesbayer$ waypoint up | |
» Building... | |
✓ Initializing Docker client... | |
✓ Building image... | |
│ Step 1/3 : FROM nginx:stable | |
│ ---> b5390718bd8e | |
│ Step 2/3 : COPY ./public/ /var/www | |
│ ---> Using cache | |
│ ---> 8eb12341e55d | |
│ Step 3/3 : COPY ./nginx.conf /etc/nginx/conf.d/default.conf | |
│ ---> Using cache | |
│ ---> 4cc7b980adce | |
│ Successfully built 4cc7b980adce | |
│ Successfully tagged waypoint.local/web:latest | |
✓ Injecting Waypoint Entrypoint... | |
» Deploying... | |
✓ Setting up waypoint network | |
✓ Starting container | |
» Releasing... | |
The deploy was successful! A Waypoint deployment URL is shown below. This | |
can be used internally to check your deployment and is not meant for external | |
traffic. You can manage this hostname using "waypoint hostname." | |
URL: https://manually-clean-polliwog.waypoint.run | |
Deployment URL: https://manually-clean-polliwog--v2.waypoint.run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment