-
Notifications
You must be signed in to change notification settings - Fork 134
Quickstart
Todd Wells edited this page Jun 24, 2019
·
11 revisions
Watch the 90 second demo below to see mu in action!
- Install mu
- Create a new git repo and clone -
git clone [email protected]:my-github-user/my-app && cd my-app
- Create a webpage -
vi index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>Hello World!</body>
</html>
- Create Dockerfile -
vi Dockerfile
FROM nginx
COPY index.html /usr/share/nginx/html/index.html
- Initialize the
mu.yml
andbuildspec.yml
files:mu init --port 80 --env
- Update the
mu.yml
to use/
for thehealthEndpoint
:
service:
name: extension
port: 80
healthEndpoint: /
pathPatterns:
- /*
pipeline:
- Commit and push:
git add --all && git commit -m "mu init" && git push
- Create the pipeline:
mu pipeline up
- Enter your GitHub Token when prompted (creation of OAuth GitHub token guide here)
- Show the status of the service:
mu svc show
- Once the
Acceptance Test
has Succeeded, go to the console URL and provide the manual approval of the production change - Delete all resources in AWS:
mu purge