squeaknode/frontend/Makefile
Jonathan Zernik b9eeaa3c32
Use correct base URL for block explorer block detail (#584)
* Add phony makefile targets in frontend folder

* Make block explorer url depending on network

* Got dynamic block explorer link working for detail page

* Got block explorer link working for ancestor thread squeaks

* Use network to get correct block explorer url in timeline

* Show correct block explorer link in address page

* Update static build
2021-01-09 00:09:36 -08:00

17 lines
268 B
Makefile

all: clean build
clean:
rm -rf build node_modules
rundev:
./build-protos.sh
npm install
REACT_APP_SERVER_PORT=12994 npm start
build:
./build-protos.sh
npm install
npm run build
cp -r build/ ../squeaknode/admin/webapp/static/
.PHONY: all clean rundev build