You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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_.
| 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. |
| 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. |
39
39
40
40
41
-
## 2) Continue refactoring of your _ITU-MiniTwit_.
41
+
## 2) Continue refactoring and Deploy of your _ITU-MiniTwit_.
42
42
43
43
Continue refactoring of your version of _ITU-MiniTwit_ with missing features and added features of your liking.
44
44
@@ -48,15 +48,15 @@ Continue refactoring of your version of _ITU-MiniTwit_ with missing features and
48
48
- You might want to deploy to DigitalOcean, from where you get free credits from the GitHub education pack.
49
49
- 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).
50
50
-**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.
52
52
53
53
* You are free to deploy to whichever Infrastructure-as-a-Service (IaaS) provider of your choice or your own servers.
54
54
- 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.
55
55
-**Do not** deploy to a Platform-as-a-Service, like Heroku, Google App-Engine, etc.
56
56
57
57
* 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).
58
58
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.
60
60
61
61
62
62
**OBS MSc students**: Remember to log and provide good arguments for the choice of virtualization techniques and deployment targets.
Copy file name to clipboardexpand all lines: sessions/session_03/Slides.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -764,7 +764,7 @@ Remember:
764
764
>
765
765
> ...
766
766
>
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)
> 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**.
784
784
>
785
785
> Vagrant provides easy to configure, reproducible, and portable work environments built on top of industry-standard technology and controlled by a single consistent workflow [...]
0 commit comments