Hacker News new | ask | show | jobs
by wilson_4 2430 days ago
Easiest? Probably heroku after you get past the initial boilerplate - but can quickly become expensive.

Most cost efficient would be to Spin up a cheap droplet in digital ocean, install docker-compose with a Postgres service and python image. In the python image, just boot up a Django server on port 80. If you need https, youll need to add something in front of Django, like nginx to handle ssl termination.

App engine could also be a very quick and cheap way - you get ssl, and domain for free, but you do need to buy into their way of doing things, which has a bit of a learning curve .

1 comments

I'd use Gunicorn instead of Django dev server.
Yes, definitely for production use. Getting started though the dev server is fine for testing.