React web application to facilitate the exchange of testnet Ether to Göeth through the GoethBridge. Contains only the Bridge UI & functionality.
node v8.10.0 or later
clone this repo
- Create .env file
- add
SKIP_PREFLIGHT_CHECK=true - https://stackoverflow.com/questions/52586594/eslint-error-on-deployment-on-local-server-of-react-web-app
- add
npm i && npm start
currently tested with Chrome MacOS v70.0.3538.77
- create an instance in digitalocean or aws or any hosting with alteast 1 CPU & 2GB RAM
- choose
Ubuntu 16.04 lTS or 18.04 LTS - do
sudo apt update -y && sudo apt upgrade -yfirst - install node, npm. follow this guide (https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-18-04)
- then do
sudo apt install -y make gcc g++ - next
npm i -g pm2 serve - then clone the project
git clone https://github.com/goerli/GoethBridgeUI.git - cd into the project and then do
npm i - next do
pm2 start npm -- start - do
pm2 listto check if the app is running, pm2 allows you to run node app in background process - visit
YOUR_IP/DOMAIN:3000in the browser to see the UI