TestDriven.io
testdriven.io · Company blog · on HN since 2017
TestDriven.io publishes tutorials on Python web development, covering Django, Flask, FastAPI, Docker, and frontend frameworks like Vue and React.
What HN saysHN commenters link it as a tutorial source for Flask with Vue and for deploying Django with Docker, Postgres, and Nginx.
39HN people shared it
5linked it in comments
117stories submitted
686story points
3 years agolast shared
2017people per year2026
Most-shared posts
- 1Creating a Custom User Model in Django4 people · 9 points · first shared 2019 · discussion on HN
- 2Dockerizing Django with Postgres, Gunicorn, and Nginx3 people · 10 points · first shared 2019 · discussion on HN
- 3Django vs. Flask in 2020: Which Framework to Choose3 people · 9 points · first shared 2019 · 2 comments on HN
- 4Moving from Flask to FastAPI3 people · 5 points · first shared 2020 · discussion on HN
- 5Developing a SPA with Flask and Vue3 people · 4 points · first shared 2019 · discussion on HN
- 6Async Views in Django 3.12 people · 155 points · first shared 2020 · 81 comments on HN
- 7V1 of “Microservices with Docker, Flask, and React” Is Done2 people · 26 points · first shared 2017 · 1 comments on HN
- 8Rapid Prototyping with Django, Htmx, and Tailwind CSS2 people · 25 points · first shared 2021 · 1 comments on HN
- 9Developing a Single Page App with Flask and Vue.js2 people · 6 points · first shared 2018 · 2 comments on HN
- 10Deploying Django to Heroku with Docker2 people · 4 points · first shared 2019 · discussion on HN
- 11Storing Django Static and Media Files on Amazon S32 people · 3 points · first shared 2020 · discussion on HN
- 12Reproducible Builds with Bazel2 people · 2 points · first shared 2020 · discussion on HN
- 13Test Your Microservice Stack with TestCafe – TDD Courses, by Mike Herman2 people · 1 points · first shared 2017 · discussion on HN
- 14Web Authentication Methods Compared1 people · 181 points · first shared 2020 · 102 comments on HN
- 15CSS Grid: No Nonsense Layouts1 people · 58 points · first shared 2019 · 12 comments on HN
What HN people wrote when they linked it
mjhea0 · 2017-11-27
AWS Lambda would be good for this.
Example: https://realpython.github.io/aws-lambda-code-execute/
Blog Post: https://realpython.com/blog/python/code-evaluation-with-aws-lambda-and…
Larger tutorial: https://testdriven.io/
bredren · 2023-09-13
I use GitHub actions to automate test / build / deploy of django / Postgres / nginx docker orchestrations.
I prefer digital ocean for VPS and have found you can get pretty far on the smaller droplets.
I’ll typically have two environments, one getting auto deploys from anything on a feature branch, and production which gets deployed when there are changes to main.
For my setup, I initially learned using blog entries from the folks who blog at:
https://testdriven.io/blog/
I blended multiple entries to achieve just the setup I wanted.
I haven’t gone up to terraform though, finding it sufficient to use a pre built image of ubuntu / docker at the initialization.
My oldest projects still use .sh to handle deploys but I’d never go back to that stuff.
faizshah · 2023-02-19
I think the last missing piece is getting reproducible builds which I think you can get from buildpacks [0], NixOS [1], or Bazel [2] running in your CodeBuild.
[0]: https://buildpacks.io/docs/features/reproducibility/
[1]: https://nixos.org/
[2]: https://testdriven.io/blog/bazel-builds/
actually_a_dog · 2021-08-03
Yep. You should also be hosting and deploying from wheels[0], even for stuff you create internally. If you're doing it right, you'll end up hosting your own internal PyPi server[1], which, luckily, isn't hard[2].
We did this at one of my previous companies, and, of all the things that ever went wrong with our deploy processes, our internal PyPi server was literally never the culprit.
---
[0]: https://pythonwheels.com/
[1]: https://github.com/testdrivenio/private-pypi
[2]: https://testdriven.io/blog/private-pypi/
7373737373 · 2019-12-16
Pythons' Flask + Vue
https://testdriven.io/blog/developing-a-single-page-app-with-flask-and…