Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

IFRCGo/go-infrastructure

Repository files navigation

Waffle.io - Columns and their card count

Go Infrastructure

Preqrequisites

Tile dependencies

Only required if you're building tiles

Logging in

You must login before deploying any further assets

mv env-template .env
# Fill out private config in .env

source .env
source bin/login

Creating storage

./storage/deploy.sh

Uploading a private key to storage

# Upload both id_rsa *and* id_rsa.pub
./storage/upload-key.sh ~/.ssh/id_rsa

Create and tag proxy functions

./functions/deploy.sh
./functions/tag.sh

Deploy db

./db/deploy.sh

Create PostGIS and other extensions

./db/extend.sh

Deploy API and Elasticsearch VMS

./vms/deploy-api.sh
./vms/deploy-es.sh

# Run a Docker image on a deployed VM
./vms/open-ssh.sh
./vms/init.sh dsgoapi developmentseed/ifrc-go-api:8

Create and deploy tiles

yarn
./tiles/make-tiles.sh
./tiles/deploy.sh

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published