Very close to launch

drodol  •  16 Nov 2023   •    
Screenshot

So today I decided I would deploy the alpha version of dFe.

I hadn’t deployed a Django app in a long time, so I thought I’d just do it for fun. Even with the knowledge that I still need to style things better.

I planned to deploy to a PaaS like Railway.app or Fly.io. So I found myself a deployment checklist and following one of my favourite Django people, Vicent, I deployed successfully to a fly.io sub-domain.

I worked without any hiccups.

Of course, the app is empty with no objects in the DB.

I created myself a superuser so I could use the Django admin interface to create some data to display.

It worked well. But when I tried adding data, I encountered an error. One that simply didn’t happen in my development machine.

I then resorted to trying to install Sentry, which is an error logging utility that is commonly used in Django for apps in production.

That’s when I hit a roadblock. I still can’t get Sentry to work, and therefore cannot troubleshoot the error I am getting when trying to add data to the DB using the Django admin interface.

I will give it a few more tries, but if I am not successful, I will go to bed and rest. I can try again tomorrow.

Comments

Congrats on just launching! ✨

Is fly.io like a heroku alternative?

jasonleow  •  17 Nov 2023, 3:49 am

@jasonleow exactly.

drodol  •  17 Nov 2023, 7:29 am

Have you used Heroku in past? Is fly better?

jasonleow  •  17 Nov 2023, 11:15 pm

I used Heroku extensively in the past. Mostly to deploy small experiments or toy apps. I have been using fly for too little to compare. But fly is free for hobby projects, so that’s why I chose them. I am still not sure how I will deploy the final version of DfE.

drodol  •  18 Nov 2023, 9:16 am

Hmm good point about free for hobby projects. Maybe hobby ones on fly, then heroku for serious ones.

jasonleow  •  20 Nov 2023, 4:09 am

Not sure if I will go for Heroku for when I am ready to deploy. I’ve heard they’ve gone a bit dark on their pricing.

drodol  •  20 Nov 2023, 8:12 am

I’m using Heroku for Lifelog. It’s not too bad. $16/m for a dyno and postgres add-on.

They have an Eco plan where you can share 1000 dyno hours for all projects for $5 per month - been thinking about this for hobby projects

jasonleow  •  21 Nov 2023, 5:20 am

That doesn’t sound too bad actually!

drodol  •  21 Nov 2023, 7:46 am

Discover more

Sourced from other writers across Lifelog

Ooops we couldn't find any related post...