Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Project -- Web SSO with KinD
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LSDS
Teaching
Bachelor
Cloud-and-Deployment
Project -- Web SSO with KinD
Commits
30440894
Unverified
Commit
30440894
authored
6 months ago
by
Marco Emilio "sphakka" Poleggi
Browse files
Options
Downloads
Patches
Plain Diff
README fixes
Signed-off-by:
Marco Emilio "sphakka" Poleggi
<
marcoep@ieee.org
>
parent
0aade867
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+14
-15
14 additions, 15 deletions
README.md
with
14 additions
and
15 deletions
README.md
+
14
−
15
View file @
30440894
...
...
@@ -301,11 +301,11 @@ back-end.
The whole software stack, apart from the KinD package, shall be deployed via
**Ansible**
. Of course, instead of the dummy
`http-echo`
app, two different
Docker images shall be used
-- :construction: see the
[
project's Docker fil
e
b
oilerplate
](
provide-link-please
)
: one for the front-end, the other for the
back-end, both hosted in the
[
Docker Hub
registry
](
https://hub.docker.com/
)
--
you shall create a personal public
repository.
**
We trust you, please, do not
cheat!
**
Docker images shall be used
: one for the front-end, the other for th
e
b
ack-end, both to be hosted in the
[
Docker Hub
registry
](
https://hub.docker.com/
)
--
you shall create a personal public
repository.
**We trust you, please, do not
cheat!**
Front-end and back-end
have their own Dockerfile.
The front-end image does not need to be rebuilt, unless you want to implement
some client-side (HTML/JS) bonuses.
...
...
@@ -318,9 +318,7 @@ The whole stack shall be redeployed whenever any of its images are updated.
## Tasks
:construction:
**To be finalized**
:bulb: Please, respect the file layout provided by this repository. Here is
:bulb: Please, respect the file layout provided by this repository. Here is a
map:
```
...
...
@@ -332,7 +330,6 @@ map:
│ ├── backend <= main.tf to be extended
│ └── frontend
│ └── views
├── Docker
└── Terraform <= recipes to be extended
└── conf <= Cloud-init files
```
...
...
@@ -341,10 +338,12 @@ map:
1.
Fork this repository.
2.
Complete the Python back-end file
`Application/backend/main.py`
. See the
section
[
Development
](
#development
)
below.
3.
Rebuild the application back-end Docker image, and push it to your public
Docker Hub repository --
**
(:question: TO-DO - We should provide
instructions)
**
. This task shall be automated via Ansible -- see below.
section
[
Development
](
#development
)
below. Test locally the application as
explained in section
[
Local installation
](
#local-installation
)
.
3.
Rebuild the application's Docker images, then:
-
test
[
locally the deployment
](
#local-docker-deployment
)
, then
-
push the images to your public Docker Hub repository. This task shall
be automated via Ansible -- see below.
4.
Complete your Terraform files from the version you developed in
[
Lab-Terraform
](
https://gitedu.hesge.ch/lsds/teaching/bachelor/cloud-and-deployment/lab-terraform/-/blob/main/SwitchEngines/README.md
)
up to Task #8. Your recipe shall handle only the provisioning of the VM
...
...
@@ -368,7 +367,7 @@ map:
### Bonuses
You will get bonus for any of the following improvements.
You will get bonus
points
for any of the following improvements.
*
Ask for the password when removing an account (unenroll) -- extra
safety. +0.2 points.
...
...
@@ -429,7 +428,7 @@ $ make trun
```
####
Managing the containerized application with Docker
####
Local Docker deployment
:hammer_and_wrench:
**
Install the following Docker packages on your workstation according
to your distribution's instructions: docker(.io), docker-cli,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment