mirror of
https://github.com/informaticker/uek-109-LBb.git
synced 2024-11-21 17:21:58 +01:00
Add readme
This commit is contained in:
parent
5d107ae2ca
commit
2883a1aa07
20
README.md
Normal file
20
README.md
Normal file
@ -0,0 +1,20 @@
|
||||
# counter-app autodeployment
|
||||
|
||||
Automatic deploy script to deploy the counter app for the üK 109.
|
||||
|
||||
## Requierements
|
||||
Logged into Docker CLI (ghrc.io, Github) and logged into OpenShift via oc.
|
||||
|
||||
## Deploy
|
||||
Modify the Github username inside ``deploy.sh``, then:
|
||||
```bash
|
||||
bash deploy.sh
|
||||
```
|
||||
You will get the route name in the output.
|
||||
|
||||
## Cleanup
|
||||
Run:
|
||||
```bash
|
||||
bash cleanup.sh
|
||||
```
|
||||
This will clean up any changes made by ``deploy.sh``.
|
@ -200,3 +200,5 @@ router.delete("/:id", (req, res, next) => {
|
||||
});
|
||||
|
||||
module.exports = router;
|
||||
|
||||
|
||||
|
@ -2,8 +2,8 @@
|
||||
# IMPORTANT!!
|
||||
# Change this to your github username.
|
||||
# (lowercase or else docker will complain)
|
||||
#GITHUB_USERNAME="informaticker"
|
||||
GITHUB_USERNAME="your_github_username"
|
||||
GITHUB_USERNAME="informaticker"
|
||||
#GITHUB_USERNAME="your_github_username"
|
||||
VERSION="v1"
|
||||
show_progress() {
|
||||
local current=$1
|
||||
|
Loading…
Reference in New Issue
Block a user