<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Privates on Maritime Engineering and Computer Science</title><link>https://robertwenink.com/private/</link><description>Recent content in Privates on Maritime Engineering and Computer Science</description><generator>Hugo</generator><language>en</language><lastBuildDate>Mon, 30 Dec 2024 16:44:30 +0000</lastBuildDate><atom:link href="https://robertwenink.com/private/index.xml" rel="self" type="application/rss+xml"/><item><title>Azure Container Registry: Docker</title><link>https://robertwenink.com/private/azure-docker/</link><pubDate>Thu, 22 Feb 2024 13:31:25 +0100</pubDate><guid>https://robertwenink.com/private/azure-docker/</guid><description>Notes from: https://learn.microsoft.com/en-us/training/modules/deploy-run-container-app-service/?source=learn
https://code.visualstudio.com/docs/containers/app-service#:~:text=In%20Docker%20Explorer%2C%20navigate%20to,must%20be%20unique%20across%20Azure.
Creation of the WebApp Service In vscode, docker extension, rightclick the image -&amp;gt; Push -&amp;gt; Follow the instructions to correctly tag the image, and create a new webapp if required.
The image is uploaded and build in the container registry. The WebApp is setup to CI/CD from the container registry.
Debugging / Logging When in the webapp service -&amp;gt; deployment center -&amp;gt; logs, we find logs of the webservice.</description></item><item><title>AzurePostGIS</title><link>https://robertwenink.com/private/azurepostgis/</link><pubDate>Tue, 20 Feb 2024 23:22:29 +0100</pubDate><guid>https://robertwenink.com/private/azurepostgis/</guid><description/></item><item><title>Azure WebApp deployment</title><link>https://robertwenink.com/private/azure-webapp-deployment/</link><pubDate>Tue, 20 Feb 2024 19:31:25 +0100</pubDate><guid>https://robertwenink.com/private/azure-webapp-deployment/</guid><description>Preparation Before deployment, follow the checklist: https://docs.djangoproject.com/en/3.1/howto/deployment/checklist/
Whitenoise library for static files While your app is in development, Django automatically serves any static files. In production, you need to configure a service to serve any static files. One common solution is a WhiteNoise library. (Compared to a static website, there is a dynamic and static part here, which is why you want to isolate the static in a separate service with other characteristics) WhiteNoise is middleware that reads user requests for static files such as CSS or JavaScript.</description></item><item><title>Local: PostgreSQL + PostGIS</title><link>https://robertwenink.com/private/postgresql_postgis_local/</link><pubDate>Tue, 20 Feb 2024 19:31:25 +0100</pubDate><guid>https://robertwenink.com/private/postgresql_postgis_local/</guid><description>PostgreSQL, PostGIS and geoDjango Tutorial example + leaflet https://www.paulox.net/2021/07/19/maps-with-django-part-2-geodjango-postgis-and-leaflet/
Use GeoDjango, as an app: &amp;ldquo;django.contrib.gis&amp;rdquo;,
Voor prototyping met SQLite, de extensie daarvoor is Spatialite. PostGIS is als enige 100% compatibel met GeoDjango&amp;rsquo;s functies.
Installation Follow: https://docs.djangoproject.com/en/5.0/ref/contrib/gis/install/#
GeoDjango requires GDAL so we need to install that too. If you&amp;rsquo;re running Windows, use the OSGEO4W Installer to download &amp;amp; install a variety of free &amp;amp; open source geospatial tools, including GDAL &amp;amp; QGIS.</description></item><item><title>Pipvenvcreation</title><link>https://robertwenink.com/private/pipvenvcreation/</link><pubDate>Tue, 20 Feb 2024 19:31:25 +0100</pubDate><guid>https://robertwenink.com/private/pipvenvcreation/</guid><description/></item><item><title>Django Basics: Microsoft Learn</title><link>https://robertwenink.com/private/django-basics/</link><pubDate>Tue, 16 Jan 2024 20:11:01 +0100</pubDate><guid>https://robertwenink.com/private/django-basics/</guid><description/></item></channel></rss>