Skip to content
Snippets Groups Projects
Unverified Commit 30440894 authored by Marco Emilio "sphakka" Poleggi's avatar Marco Emilio "sphakka" Poleggi
Browse files

README fixes

parent 0aade867
No related branches found
No related tags found
No related merge requests found
...@@ -301,11 +301,11 @@ back-end. ...@@ -301,11 +301,11 @@ back-end.
The whole software stack, apart from the KinD package, shall be deployed via 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 **Ansible**. Of course, instead of the dummy `http-echo` app, two different
Docker images shall be used -- :construction: see the [project's Docker file Docker images shall be used: one for the front-end, the other for the
boilerplate](provide-link-please): one for the front-end, the other for the back-end, both to be hosted in the [Docker Hub
back-end, both hosted in the [Docker Hub registry](https://hub.docker.com/) -- registry](https://hub.docker.com/) -- you shall create a personal public
you shall create a personal public repository. **We trust you, please, do not repository. **We trust you, please, do not cheat!** Front-end and back-end
cheat!** have their own Dockerfile.
The front-end image does not need to be rebuilt, unless you want to implement The front-end image does not need to be rebuilt, unless you want to implement
some client-side (HTML/JS) bonuses. some client-side (HTML/JS) bonuses.
...@@ -318,9 +318,7 @@ The whole stack shall be redeployed whenever any of its images are updated. ...@@ -318,9 +318,7 @@ The whole stack shall be redeployed whenever any of its images are updated.
## Tasks ## Tasks
:construction: **To be finalized** :bulb: Please, respect the file layout provided by this repository. Here is a
:bulb: Please, respect the file layout provided by this repository. Here is
map: map:
``` ```
...@@ -332,7 +330,6 @@ map: ...@@ -332,7 +330,6 @@ map:
│ ├── backend <= main.tf to be extended │ ├── backend <= main.tf to be extended
│ └── frontend │ └── frontend
│ └── views │ └── views
├── Docker
└── Terraform <= recipes to be extended └── Terraform <= recipes to be extended
└── conf <= Cloud-init files └── conf <= Cloud-init files
``` ```
...@@ -341,10 +338,12 @@ map: ...@@ -341,10 +338,12 @@ map:
1. Fork this repository. 1. Fork this repository.
2. Complete the Python back-end file `Application/backend/main.py`. See the 2. Complete the Python back-end file `Application/backend/main.py`. See the
section [Development](#development) below. section [Development](#development) below. Test locally the application as
3. Rebuild the application back-end Docker image, and push it to your public explained in section [Local installation](#local-installation).
Docker Hub repository -- **(:question: TO-DO - We should provide 3. Rebuild the application's Docker images, then:
instructions)**. This task shall be automated via Ansible -- see below. - 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 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) [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 up to Task #8. Your recipe shall handle only the provisioning of the VM
...@@ -368,7 +367,7 @@ map: ...@@ -368,7 +367,7 @@ map:
### Bonuses ### 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 * Ask for the password when removing an account (unenroll) -- extra
safety. +0.2 points. safety. +0.2 points.
...@@ -429,7 +428,7 @@ $ make trun ...@@ -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 :hammer_and_wrench: **Install the following Docker packages on your workstation according
to your distribution's instructions: docker(.io), docker-cli, to your distribution's instructions: docker(.io), docker-cli,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment