mirror of
https://github.com/yzernik/squeaknode.git
synced 2026-08-13 12:33:25 +02:00
* Automatically install requirements.txt in setup * Remove extra copy of requirements.txt in dockerfile
683 B
Executable file
683 B
Executable file
frontend
Run in dev mode
- Start bitcoin-core and lnd in docker-compose:
cd docker docker-compose up - Start the backend with the
SQUEAKNODE_WEBADMIN_ENABLED,SQUEAKNODE_WEBADMIN_LOGIN_DISABLED, andSQUEAKNODE_WEBADMIN_ALLOW_CORSenvironment variables:python3 -m venv venv source venv/bin/activate pip install . SQUEAKNODE_WEBADMIN_ENABLED=TRUE SQUEAKNODE_WEBADMIN_LOGIN_DISABLED=TRUE SQUEAKNODE_WEBADMIN_ALLOW_CORS=TRUE SQUEAKNODE_NETWORK=testnet squeaknode --config config.ini - Start the frontend in development mode:
cd frontend make rundev
Build for production
- Run the build command:
cd frontend make build