Skip to content
This repository has been archived by the owner on Feb 18, 2022. It is now read-only.

How to start Terra Station locally on macOS

Paul Kim edited this page Mar 25, 2020 · 5 revisions

1) Add local.terra.money

Add a record to /etc/hosts

127.0.0.1 local.terra.money

Test

# ping local.terra.money
PING local.terra.money (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.084 ms
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.046 ms

2) useStation

git clone https://github.com/terra-project/use-station.git
cd use-station
yarn && yarn build
yarn link

You should now have dist directory.

3) Terra Station Web

git clone https://github.com/terra-project/station.git
cd station
yarn
yarn link @terra-money/use-station # To use local build of useStation
yarn start

Station will be served from https://local.terra.money:3000

4) Terra Station App

Terra Station Web is required for this step

git clone https://github.com/terra-project/station-electron.git
cd station-electron
yarn
yarn start

Electron app will be served from: https://local.terra.money:3000. You can use app version of Terra Station.