Posts

Showing posts with the label gcp

On writing the AppEngine deploy guide

Image
 OHMYGODWHATAMASSIVECOLOSSALFUCKINGPAININTHEARSETHATWASILITERALLYWANTTORIPMYBRAINOUTWITHAPUBECOVEREDSAFETYSCISSORBLADEANDTHROWITATTHENEARESTTWATOFASWANSOICANATLEASTJUSTIFYMYRAPIDDEMISETOUTTERSHITTINGINSANITYINCROWNCOURT. Sorry. Seriously though, the next time I decide to take my Google fanboyism to that level again, just slap me in the bollocks with the nearest cheese grater. I think the only reason I have any remote reserves of remaining sanity is thanks to Taureor, Tom Scott, Jay Foreman and Allix (wife, not YouTuber). I'm sure I'll look back on the experience in a few weeks and remember it fondly, knowing that I've learned a huge amount from the experience and being actually really proud of it (rightly or wrongly). But some quick maths reveals what I could have achieved with that time, each of which seems infinitely more valuable right now: Written a 200-page book of love songs and bawdy limericks to give to my wife. Re-released Chandler's Dumb States Game with some...

Deploying Rails to the GCP AppEngine

Image
This post is a progression from a previous post regarding setting oneself up with GCP , and a supplement to the deploy section of the Rails 6 guide in this blog. This post can be used by itself, but it is highly recommended that at the least previous GCP post is read first (particularly to set up the service account ). This process is rather long and can be tricky, so has been split into sections: CloudSQL Instance Setup AppEngine & Google Cloud SDK PostgreSQL Database Setup AppEngine App Configuration Deploy the App     SQL Instance Setup Unlike Heroku, the GCP deploy process is a bit more involved and requires more explicit setup of certain features. This guide will use the ToDoList web application created in the Rails guide as a basis for what we are deploying. We will start by creating our database instance so that our app can interact with data - ...

Creating a Development / Deployment Virtual Machine with GCE

Image
When creating a Rails app, it is helpful to have a decent roadmap of what you're going to do. An important part of this is where you are going to develop your app, and where you are going to host ( deploy ) it. If the answer to one or both of these involves using the Google Cloud Platform, then this guide should help you set yourself up nicely. This process is rather long and can be tricky, so has been split into sections: GCP Account Setup Project APIs & Service Account Setup Virtual Machine Setup Accessing the VM     GCP Signup & Project Initialisation If you don't already have a Google account, this is naturally a prerequisite to getting yourself set up, and you can set one up quickly via accounts.google.com . Once you're set up, head over to cloud.google.com , where there should be a nice Get started for free button, which you can click to get started: ...

Popular posts from this blog

[ToDoList] Front-end Basics

New Rails Apps with Docker Compose

Deploying Rails to the GCP AppEngine