5 ms·
Where have you deployed? I'm looking to switch for my Django website. I'd like something full-serve like Heroku, but Heroku doesn't work well with sqlite.
by appleiigs 7y ago
Where have you deployed? I'm looking to switch for my Django website. I'd like something full-serve like Heroku, but Heroku doesn't work well with sqlite.
- acdanger 7y agoI have a Flask app deployed on PythonAnywhere that's using sqlite. Not nearly as streamlined as Heroku, but I'm happy with it.
- scwoodal 7y agoIf you don't mind a little sysadmin work I've had good experiences with Dokku[1]. I spin up a Digital Ocean droplet or AWS Lightsail instance and it's my own mini Heroku. It's great for side projects without the limitations of Heroku's free tier. Lots of plugins (Postgres S3 backups, Lets Encrypt certificates) are icing on the cake. [1] http://dokku.viewdocs.io/dokku/ http://dokku.viewdocs.io/dokku/
- 52-6F-62 7y agoI’ll second this. I work on a selection of internal applications and services and we run everything with Dokku. I was skeptical at first because it made initial [legacy code] deployments a bit of a pain, but I’ve been converted. Not sure I’d run everything that way but for small-scale applications it’s a breeze. And because you have to do the sysadmin work yourself it’s a bit more flexible than Heroku.
- nwsm 7y agoI take that to mean you are hosting your db locally with the app server? Hardly seems like Heroku is in the wrong there
- appleiigs 7y agoyes, DB is local on app server. Sqlite is good for my uses. My DB is about 20 MBs. I like to download the sqlite file to my PC to do analysis as the data changes. Postgres seems like overkill and more complicated
- ryry 7y agoDepending on what you need and your traffic, a simple $5 Digital Ocean droplet with a nginx reverse proxy in front of Django would do the trick. It'd still let you run sqlite, but Django's pretty powerful when you give it postgres (which you could also run in the droplet).
- raihansaputra 7y agoI just looked at this myself yesterday and Heroku offers free postgresql instance for under 10K rows. And decided to skip S3-like solutions by embedding my compressed image to the DB[0]. Want 10k-10M rows? That's $9 a month. A bit steep, but easier than configuring DO instances. [0]: I know this is not best practice, but this is a small project and this is a hack that I fully know the tradeoffs for.