Skip to content

Deployment and Infra

Christian Fosli edited this page Jul 28, 2022 · 10 revisions

We use continuous integration and continuous deployment using GitHub actions and Deno Deploy. However, some infrastructure components are set up manually. This page tracks what must be done to recreate all related infra.

General

  • Buy stellerom.no domain

  • Add environments to GitHub repo settings

    • Deno deploy added "Preview" and "Production". Add "Development" manually

App

  • Create a project on Google Cloud

    • Create API key for Google Maps
  • Create project on Deno Deploy with GitHub repo

    • Configure API key for google maps as environment variable

    • Configure URL's for backend services as environment variables

    • Add [www].stellerom.no as custom domain

      • Update DNS config with domain registrar accordingly

Api

Deploy to Azure

Persistence

  • Create a project on cloud.mongodb.com

    • Add a database cluster (currently sharing between environments to be able to use the free tier - m0)

      • Add database users for API's, and add the passwords into GitHub environment secrets

      • Whitelist IP addresses to access DB

Clone this wiki locally