-
Notifications
You must be signed in to change notification settings - Fork 0
Deploy from local
AntonOlkhovskyi edited this page Sep 20, 2019
·
3 revisions
For deploy from local you need to have you gcp account and project created.
If you in Gapminder development team you need to have access to gapminder gcp development account.
sudo apt-get install -y docker-ce
Run this command to download the current stable release of Docker Compose:
sudo curl -L "https://github.com/docker/compose/releases/download/1.23.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
docker-compose --version
> docker-compose version 1.23.2, build 1110ad01
5. Install gcloud sdk https://cloud.google.com/sdk/ .
gcloud components install kubectl
-
In your browser login into you gcp dev account.
-
Run gcloud init
gcloud init
gcloud init launches an interactive Getting Started workflow for gcloud. It performs the following setup steps:
- Authorizes gcloud and other SDK tools to access Google Cloud Platform using your user account credentials, or lets you select from accounts whose credentials are already available -- Select your development account.
- Sets properties in a gcloud configuration:
- including the current project -- Select project name. Project name consists of
MODE_ENV-NODE_ENV
- default Google Compute Engine region and zone. -- Select
europe-west-b
region.
- including the current project -- Select project name. Project name consists of
For manage AWS storage you need to install AWS CLI. Please follow Amazon instructions to install AWS CLI https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html
Instructions on how to create and link AWS storage with DS needs to be added here or in the separate doc.