docker-django-example
docker-node-example
Our great sponsors
docker-django-example | docker-node-example | |
---|---|---|
44 | 12 | |
1,093 | 198 | |
- | - | |
7.9 | 7.6 | |
about 1 month ago | about 1 month ago | |
Python | Shell | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
docker-django-example
-
Django 5.0 Is Released
Congrats on the release to the Django community!
If anyone is curious, I updated my Django / Docker starter kit app to use Django 5.0 at: https://github.com/nickjj/docker-django-example
It pulls together gunicorn, Celery, Redis, Postgres, esbuild and Tailwind with Docker Compose. It's set up to run in both development and production.
-
Working with Docker Containers Made Easy with the Dexec Bash Script
- https://github.com/nickjj/docker-django-example
-
What's the correct way to install or version up packages when using Docker and Poetry?
For example I edit the regular non-lock file and then run ./run pip3:install from my host which handles the above. A repo with an example Django project in Docker can be found here https://github.com/nickjj/docker-django-example. There's a pip3-install script in the bin/ directory, you can replace that with Poetry commands instead.
-
Docker advantages for a single developer?
Currently, I'm using a modified version of this Docker setup (https://github.com/nickjj/docker-django-example) to work locally and build/deploy a production image. However, using PyCharm as my IDE, the development process is incredibly slow, especially when adding or removing Python packages. It takes at least 3 minutes to rebuild the Docker image after adding a package, and PyCharm has to update its index. Additionally, PyCharm's inspector sometimes gets confused about which packages are already installed based on the requirements.txt.
-
Django 4.2 released
If anyone is interested I updated my Django / Docker starter project for 4.2: https://github.com/nickjj/docker-django-example
-
Django Local to Production - FTP or what ?
Lots of handy stuff in this Django and Docker example project https://github.com/nickjj/docker-django-example He does a good course about Docker too.
-
psycopg2 in production
If you're using Docker with a Debian based image you only need to apt install libpq-dev and you're good to go, it only needs to exist in your Docker image not your VPS directly. I've been using it for years. Here's a working example if you want to poke around https://github.com/nickjj/docker-django-example.
- Looking to use Docker & Docker Compose in production and need advice.
-
How to Dockerize any Django Application: A Step-by-Step Tutorial
On a positive note, I would recommend perhaps looking at https://github.com/nickjj/docker-django-example for a good, somewhat beginner guide for django + docker work.
-
What is your development cycle when using docker and containers? What's the general flow between developing locally and running the containers to test.
I put together https://github.com/nickjj/docker-django-example which pulls together a typical Django set up using Gunicorn, Celery, Postgres, Redis, esbuild and Tailwind.
docker-node-example
-
Multi stage dockerfile examples in node.js?
Here's a full example project where a Node app is split up between a front-end and back-end with multi-stage builds: https://github.com/nickjj/docker-node-example
-
Docker-compose - how to control which services are run?
Here's a walk through on how to use them https://nickjanetakis.com/blog/docker-tip-94-docker-compose-v2-and-profiles-are-the-best-thing-ever and here's an example Node project that's using profiles https://github.com/nickjj/docker-node-example.
- Looking to use Docker & Docker Compose in production and need advice.
-
Docker Compose Examples
- https://github.com/nickjj/docker-node-example
-
Ask HN: What is the best source to learn Docker in 2023?
If your goal is to "learn Docker", I have around 100+ free blog posts and YouTube videos at: https://nickjanetakis.com/blog/tag/docker-tips-tricks-and-tu...
https://github.com/nickjj/docker-node-example is an up to date Node example[0] that's ready to go for development and production and sets up GitHub Actions. Its readme links to a DockerCon talk from about a year ago that covers most of the patterns used in that project and if not some of my more recent blog posts cover the rest.
It doesn't cover feature branch deployments tho, in my opinion that's unrelated to Docker.
[0]: You can replace "node" in the GitHub URL with flask, rails, django and phoenix for other example apps in other tech stacks.
- docker-compose file repository?
- How to setup flask with webpack
- docker-compose creates node_modules folder on host
-
I don't understand how to deal with node_modules in development.
A fully working example Node app that demos the above is here: https://github.com/nickjj/docker-node-example
- Docker-compose isn’t good for production?
What are some alternatives?
Poetry - Python packaging and dependency management made easy
full-stack-fastapi-template - Full stack, modern web application template. Using FastAPI, React, SQLModel, PostgreSQL, Docker, GitHub Actions, automatic HTTPS and more.
Tailwind CSS - A utility-first CSS framework for rapid UI development.
headwind - An opinionated Tailwind CSS class sorter built for Visual Studio Code
django-async-orm - Bringing Async Capabilities to django ORM
docker-phoenix-example - A production ready example Phoenix app that's using Docker and Docker Compose.
truss - A TypeScript DSL for writing utility CSS in React/JSX
launchr - Launchr is an open source SaaS starter kit, based on Django.
tailblocks - Ready-to-use Tailwind CSS blocks.
class-types.macro