With Magic User Authentication Magic.link
Install your node via docker install instructions here.
- Install docker
- Get latest golang image, then run...
> docker run -ti -p 9650:9650 -p 9651:9651 golang:latest
> go get -v -d github.com/ava-labs/avalanchego
> cd src/github.com/ava-labs/avalanchego
> ./scripts/build.sh
> ./build/avalanchego --http-host=0.0.0.0 --network-id=fuji
- Now you've got a node running locally at 192.168.99.100
- Wait until the node bootstraps completely.Take note of this line...
* > Set node's ID to L7e2Y32KzbM5LvP6FuDnCaV6GjeBxiSr7
* That is your nodes ID
first create an env.bat file that looks like this:
DEV_KEY and DEV_CERT only if you want to run secure locally for testing
set DEV_BLOCKCHAIN_ID=<your node id>
set DEV_AVALANCHE_IP=192.168.99.100
set DEV_KEY=C:\\<path to key>\\key.pem
set DEV_CERT=C:\\<path to cert>\\cert.pem
* cd avalanchejs-demo-cms/api
* npm run install
* .env
* npm start
* Open new console window
* cd avalanchejs-demo-cms/app
* npm run install
* npm run serve
If you run into trouble email me : snyder.burt@gmail.com