Skip to content

Commit 0a2596c

Browse files
committed
Automatic release of teaching material.
1 parent ae6f085 commit 0a2596c

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

sessions/session_03/README_TASKS.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ In two weeks, we will start a simulator that will run until the end of this cour
1414
You can find the (*implicit*) specification for the simulator API in
1515
[`API_Spec/minitwit_sim_api.py`](./API_Spec/minitwit_sim_api.py). **OBS**: your applications have to:
1616

17-
- Implement the same endpoints (on different hosts of course and potentially different ports),
18-
- Handle the same HTTP requests, i.e., GETs and POSTs as specified with the same parameters and payloads as provided
19-
- Provide at least the same HTTP status codes in response as specified.
17+
- **Implement the same endpoints** (on different hosts of course and potentially different ports),
18+
- **Handle the same HTTP request types**, i.e., GETs and POSTs as specified with the same parameters and payloads as provided
19+
- Provide **the same HTTP status codes** in response as specified.
2020

2121

2222
The [`API_Spec/minitwit_sim_api.py`](./API_Spec/minitwit_sim_api_test.py) depends on your refactored `minitwit.py` from last week's homework.
@@ -33,12 +33,12 @@ $ python minitwit_simulator.py http://localhost:5001
3333
where the argument `http://localhost:5001` has to be replaced with the URL of where your simulator API is running. In case this simulator test does not log any errors, you should be all fine for next week. If errors are logged, you have to fix the corresponding issue either in your implementation of the simulator API or in the implementation of your version of _ITU-MiniTwit_.
3434

3535

36-
| :exclamation: **OBS** |
37-
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
38-
| We are talking about an API specification here. It is completely up to you how you integrate this into your systems. That is, that the program in `API_Spec/minitwit_sim_api.py` interacts directly with the database is only for illustration. It does not mean that the API has to be implemented like that in your systems! You will very likely want to factor out the common behavior between your endpoints handle our simulator and your endpoints that render HTML. |
36+
| :exclamation: **OBS** |
37+
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
38+
| We are talking about an API specification here. It is completely up to you how you integrate this into your systems. That is, that the program in `API_Spec/minitwit_sim_api.py` interacts directly with the database is only for illustration. It does not mean that the API has to be implemented like that in your systems! You will very likely want to factor out the common behavior between your endpoints that handle our simulator and your endpoints that render HTML. |
3939

4040

41-
## 2) Continue refactoring of your _ITU-MiniTwit_.
41+
## 2) Continue refactoring and Deploy of your _ITU-MiniTwit_.
4242

4343
Continue refactoring of your version of _ITU-MiniTwit_ with missing features and added features of your liking.
4444

@@ -48,15 +48,15 @@ Continue refactoring of your version of _ITU-MiniTwit_ with missing features and
4848
- You might want to deploy to DigitalOcean, from where you get free credits from the GitHub education pack.
4949
- You might want to start with the exercise from the demo in the lecture, see slide [g) Automatic provision of remote clusters of virtual machines at DigitalOcean via Vagrant](./Slides.md#g-Automatic-provision-of-remote-clusters-of-virtual-machines-at-DigitalOcean-via-Vagrant).
5050
- **OBS**: The simulator API from the task above is considered part of your _ITU-MiniTwit_, i.e., it has to be deployed too.
51-
* **Do not** create and provision VMs manually, instead use a corresponding script, `Vagrantfile`, or a similar reproducible setup for that task.
51+
* **Do not** create and provision VMs manually, instead use a corresponding *script*, `Vagrantfile`, or a similar reproducible setup for that task.
5252

5353
* You are free to deploy to whichever Infrastructure-as-a-Service (IaaS) provider of your choice or your own servers.
5454
- The only requirement is that your deployment is automatically reproducible, i.e., no clicking in UIs required, and that your application is reachable via a public IP/domain.
5555
- **Do not** deploy to a Platform-as-a-Service, like Heroku, Google App-Engine, etc.
5656

5757
* Make your development environment and deployment environment "look alike". That is, you develop on an Ubuntu 22.04 based Linux (Pop!_OS), choose the same environment for your remote server(s).
5858

59-
* **Hint**: To make future operations more smooth, you might consider to use a [floating IP](https://docs.digitalocean.com/products/networking/floating-ips/) 'infront' of your actual server, see the [API spec.](https://docs.digitalocean.com/reference/api/api-reference/#tag/Floating-IPs) for receiving one.
59+
* **Hint**: To make future operations more smooth, you might **consider to use a [floating IP](https://docs.digitalocean.com/products/networking/floating-ips/) 'infront' of your actual server**, see the [API spec.](https://docs.digitalocean.com/reference/api/api-reference/#tag/Floating-IPs) for receiving one.
6060

6161

6262
**OBS MSc students**: Remember to log and provide good arguments for the choice of virtualization techniques and deployment targets.

sessions/session_03/Slides.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -764,7 +764,7 @@ Remember:
764764
>
765765
> ...
766766
>
767-
> Containers isolate software from its surroundings, for example differences between development and staging environments and help reduce conflicts between teams running different software on the same infrastructure. (https://www.docker.com/what-container)
767+
> **Containers isolate software from its surroundings**, for example differences between development and staging environments and help reduce conflicts between teams running different software on the same infrastructure. (https://www.docker.com/what-container)
768768
769769
<img src="https://www.docker.com/wp-content/uploads/2021/11/docker-containerized-appliction-blue-border_2-980x783.png.webp" width=50%>
770770
@@ -780,7 +780,7 @@ Remember:
780780
781781
### Vagrant? What is it?
782782
783-
> Vagrant is a tool for building and managing virtual machine environments [...] Vagrant lowers development environment setup time, increases production parity, and makes the "works on my machine" excuse a relic of the past.
783+
> Vagrant is a tool for building and managing virtual machine environments [...] Vagrant lowers development environment setup time, increases production parity, and **makes the "works on my machine" excuse a relic of the past**.
784784
>
785785
> Vagrant provides easy to configure, reproducible, and portable work environments built on top of industry-standard technology and controlled by a single consistent workflow [...]
786786
>

0 commit comments

Comments
 (0)