Skip to content

Latest commit

 

History

History
98 lines (67 loc) · 1.57 KB

remote-deployment.md

File metadata and controls

98 lines (67 loc) · 1.57 KB

Remote Unchained Deployment

run your own uncahined api

dependencies:

an owned domain name* to host unchained dns registrar (ex godaddy)

ShapeShift tools

repo

overview

  1. fork unchained repo
  2. setup AWS account
  3. setup circle.
  4. sign up for npm
  5. sign up for dockerhub
  6. sign up for etherscan

Domain Registration

buy a domain

dockerhub

get api token https://docs.docker.com/docker-hub/access-tokens/

pulumi

get pulumi token https://www.pulumi.com/docs/reference/cli/pulumi_login/

aws

signup for account get aws credentials

region=us-east-1
aws_access_key_id = ****
aws_secret_access_key = ****

setup rout53 hosted zone point dns on owned domain to zone

circleci

  • go to forked project

setup configs:

get your pulumi access token

ROOT_DOMAIN_NAME=**
ADDITIONAL_ROOT_DOMAIN_NAME=**
PULUMI_ORG=**
PULUMI_ACCESS_TOKEN=**
AWS_ACCESS_KEY_ID=**
AWS_REGION=**
AWS_SECRET_ACCESS_KEY=**
DOCKERHUB_PASSWORD=**
DOCKERHUB_USERNAME=**
ETHERSCAN_API_KEY=**
NPM_TOKEN=**
  • start building
  1. pulumi init dependencies stack
  2. verify environment
  3. run circle

troubleshooting

teardown stack locally

in top level pulumi dir

pulumi destroy

repeat for each coinstack

re-run circle from top.