Skip to content
Programming Notes
  • Home
  • Docker Starters
  • Author.instance().info()
  • Toggle website search
Menu Close
  • Home
  • Docker Starters
  • Author.instance().info()
  • Toggle website search

programming

  1. Home>
  2. programming>
  3. Page 3

Celery with RabbitMQ on Docker

  • Post author:Van Ly
  • Post published:September 4, 2023
  • Post category:celery/django/docker/programming/Python

Picking up from Django app template w/ Docker, here are the steps to add Celery to the Django app. Add RabbitMQ as the message queue Modify docker-compose.yml to include: services:…

Continue ReadingCelery with RabbitMQ on Docker

Sentry on Django

  • Post author:Van Ly
  • Post published:August 4, 2023
  • Post category:django/programming/Python/sentry

Sentry is one of those things that most companies use, but most people (or maybe just I) don't really know how to use it. The way I learn these things…

Continue ReadingSentry on Django

Django app template w/ Docker

  • Post author:Van Ly
  • Post published:April 22, 2023
  • Post category:django/docker/programming/Python

Revisiting https://www.pn.therealvan.com/2021/01/24/postgresql-and-mysql-docker-containers/, this post focuses on a plain Django app with minimal dependencies: exclude pipenv using the default SQLite DB Bootstrapping Start with these files: Dockerfile FROM python:3 ENV PYTHONUNBUFFERED…

Continue ReadingDjango app template w/ Docker

Kotlin with Maven

  • Post author:Van Ly
  • Post published:February 5, 2023
  • Post category:Java/kotlin/maven/programming

Stand-alone Programs Instructions and template for a stand-alone Java program built with Kotlin source code. An easy way to start with is, since JetBrains is behind this whole thing, just…

Continue ReadingKotlin with Maven

Wagtail in Docker

  • Post author:Van Ly
  • Post published:July 31, 2022
  • Post category:django/docker/programming/Python/Windows

Over the weekend I found out about a CMS software written on top of Django called Wagtail. The installation instructions promise an easy path. Just run: pip install wagtail Since…

Continue ReadingWagtail in Docker

Django I18N on Windows

  • Post author:Van Ly
  • Post published:June 2, 2021
  • Post category:django/i18n/programming

Concise run book on I18N to get things started Prerequisite Know the difference between locale name and language name: Locale name: <language code>_<COUNTRY CODE> (examples: "en_US", "fr_CA"), case sensitive.Language name:…

Continue ReadingDjango I18N on Windows

Loading Resources from Python Packages

  • Post author:Van Ly
  • Post published:March 28, 2021
  • Post category:programming/Python

Start with importlib_resources Start with the package importlib_resources. Properly export modules In order for a resource to be accessible, the module (or most likely the submodule) containing it needs to…

Continue ReadingLoading Resources from Python Packages
  • Go to the previous page
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • …
  • 8
  • Go to the next page
  • Author.instance().info()
  • Docker Starters
Copyright - WordPress Theme by OceanWP