Posts

Showing posts from June, 2021

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] Basic Pages

New Rails Apps with Docker Compose

[ToDoList] Building the App