File tree 2 files changed +21
-4
lines changed
2 files changed +21
-4
lines changed Original file line number Diff line number Diff line change
1
+ APP ?= hydra-movies
2
+
1
3
image : # # build image and push to heroku registry
2
- heroku container:push web --app hydra-movies
4
+ heroku container:push web --app $( APP )
3
5
4
6
release : # # release container to heroku
5
- heroku container:release web --app hydra-movies
7
+ heroku container:release web --app $( APP )
6
8
7
9
deploy : image release
8
10
9
11
logs : # # show heroku logs
10
- heroku logs --tail --app hydra-movies
12
+ heroku logs --tail --app $( APP )
11
13
12
14
.PHONY : image release deploy logs
Original file line number Diff line number Diff line change @@ -11,4 +11,19 @@ Afterwards run the follwing command within the `movies` directory:
11
11
12
12
``` bash
13
13
make deploy
14
- ```
14
+ ```
15
+
16
+ ### Deploy to your own account
17
+
18
+ You can deploy to your own heroku account. First log in:
19
+
20
+ ``` bash
21
+ heroku login
22
+ heroku container:login
23
+ ```
24
+
25
+ Then run ` make ` with specifying the ` APP ` name:
26
+
27
+ ``` bash
28
+ make APP=my-hydra-movies deploy
29
+ ```
You can’t perform that action at this time.
0 commit comments