Published inGeek Culture·PinnedHow to implement Google One Tap Sign-In with NextAuth in 2023This tutorial is based on this really good, yet a bit outdated, blog post from Fabrizio Ruggeri. I will go through the steps illustrated by Fabrizio, adding more contextual information about NextAuth and fixing a few out-of-date details. …Nextjs4 min readNextjs4 min read
Published inNerd For Tech·Oct 20, 2022How to set up Prisma with a local Docker Postgres containerThis is a simple guide on how to connect a Docker Postgres container to a Prisma Schema setup. This is not a Prisma tutorial. — Step1: Creating the Docker Postgres instance Here you can either create a compose.yml file or run the docker run command directly. Docker Run docker run -d -e POSTGRES_DB=mydb -e POSTGRES_PASSWORD=testpass123 -e POSTGRES_USER=postgres -p “6500:5432” postgres This launches a detached postgres:latest container with:Prisma Schema2 min readPrisma Schema2 min read
Aug 4, 2022How to containerize a GitHub Actions self-hosted runnerLaunch any number of Github Actions runners on a single VPS or EC2 Instance — N.B: Repo with all the files The why Have you tried using GitHub Actions? Pretty cool right? They allow you to write entirely reusable workflows, so that you can carefully and elegantly design a pipeline for your development environment and then quickly adapt it to your staging and production environments too! However…Docker9 min readDocker9 min read
Published inNerd For Tech·Jun 14, 2021Celery + SQS on Django on Elastic BeanstalkPre-Preface I write these articles mostly for myself. So that if in 3 years I need to do a similar setup I will be able to reduce the amount of time spent crawling the internet for answers. …Celery6 min readCelery6 min read
May 6, 2021Setting up RDS on AWS Elastic BeanstalkAnd why you shouldn’t trust the automatic RDS instance. — I have been using Elastic Beanstalk for a bit more than 6 months now and I have to admit that until last night I didn’t fully understand how it integrated with AWS Relational Database Service. The point that escaped me was how when you access your environment’s configuration settings and…AWS3 min readAWS3 min read