Добавить
Уведомления

Building a website with Strapi 3, Next.js - Installing Strapi on Google Cloud Run

In the first part of this series, we are getting started with Strapi 3.0. As mentioned in the introduction, we are going to install it on Google Cloud Platform. The databases will be using Google Cloud SQL while the application will be containerized and run with Google Cloud Run. Medium: https://floriel.medium.com/membership https://medium.com/full-human/strapi-3-0-on-google-cloud-platform-192453ca4a62 One aspect missing from articles and tutorials I come across most of the time is how to prepare for multiple environments. When building a website for a client, or a company, building a development, staging, and production environment is most often a necessity. Fortunately, Strapi has thought about this fact and you have a database.js file that exposes environment variables. Let's start by creating 2 databases using Google Cloud SQL. You can name those (my-project)-staging, (my-project)-production, where (my-project) is the name of your product or application. Once you have created your Cloud SQL instance, add another database to it. Keep note of your username and password, and the instance connection name... Follow the channel to get more videos about web development, courses, and news about trending technologies, libraries.

Иконка канала Кодерские идеи
63 подписчика
12+
18 просмотров
2 года назад
12+
18 просмотров
2 года назад

In the first part of this series, we are getting started with Strapi 3.0. As mentioned in the introduction, we are going to install it on Google Cloud Platform. The databases will be using Google Cloud SQL while the application will be containerized and run with Google Cloud Run. Medium: https://floriel.medium.com/membership https://medium.com/full-human/strapi-3-0-on-google-cloud-platform-192453ca4a62 One aspect missing from articles and tutorials I come across most of the time is how to prepare for multiple environments. When building a website for a client, or a company, building a development, staging, and production environment is most often a necessity. Fortunately, Strapi has thought about this fact and you have a database.js file that exposes environment variables. Let's start by creating 2 databases using Google Cloud SQL. You can name those (my-project)-staging, (my-project)-production, where (my-project) is the name of your product or application. Once you have created your Cloud SQL instance, add another database to it. Keep note of your username and password, and the instance connection name... Follow the channel to get more videos about web development, courses, and news about trending technologies, libraries.

, чтобы оставлять комментарии