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

  1. 1
    Creating a Custom User Model in Django
    4 people · 9 points · first shared 2019 · discussion on HN
  2. 2
    Dockerizing Django with Postgres, Gunicorn, and Nginx
    3 people · 10 points · first shared 2019 · discussion on HN
  3. 3
    Django vs. Flask in 2020: Which Framework to Choose
    3 people · 9 points · first shared 2019 · 2 comments on HN
  4. 4
    Moving from Flask to FastAPI
    3 people · 5 points · first shared 2020 · discussion on HN
  5. 5
    Developing a SPA with Flask and Vue
    3 people · 4 points · first shared 2019 · discussion on HN
  6. 6
    Async Views in Django 3.1
    2 people · 155 points · first shared 2020 · 81 comments on HN
  7. 7
  8. 8
    Rapid Prototyping with Django, Htmx, and Tailwind CSS
    2 people · 25 points · first shared 2021 · 1 comments on HN
  9. 9
    Developing a Single Page App with Flask and Vue.js
    2 people · 6 points · first shared 2018 · 2 comments on HN
  10. 10
    Deploying Django to Heroku with Docker
    2 people · 4 points · first shared 2019 · discussion on HN
  11. 11
    Storing Django Static and Media Files on Amazon S3
    2 people · 3 points · first shared 2020 · discussion on HN
  12. 12
    Reproducible Builds with Bazel
    2 people · 2 points · first shared 2020 · discussion on HN
  13. 13
  14. 14
    Web Authentication Methods Compared
    1 people · 181 points · first shared 2020 · 102 comments on HN
  15. 15
    CSS Grid: No Nonsense Layouts
    1 people · 58 points · first shared 2019 · 12 comments on HN

What HN people wrote when they linked it

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/

Keyboard shortcuts

/Search
j kNext / previous blog
EnterOpen selected blog
vVisit the blog site
fFollow / unfollow
lSwitch grid / list view
dSwitch dark mode
g hHome
g pTop posts
g tTopics
g fFollowing
g lLiked
g yHistory
g qFAQ
EscBack / close