squeaknode/frontend
Jonathan Zernik 72f7ef5d4b
Fix waiting indicator for squeak address page (#1826)
* Fix waiting indicator for squeak address page

* Update frontend build
2021-11-23 18:15:54 -08:00
..
public Use consistent name in frontend (#1333) 2021-09-18 00:15:57 -07:00
src Fix waiting indicator for squeak address page (#1826) 2021-11-23 18:15:54 -08:00
.gitignore Organize frontend (#346) 2020-10-29 23:21:38 -04:00
.prettierrc Organize frontend (#346) 2020-10-29 23:21:38 -04:00
build-protos.sh Organize frontend (#346) 2020-10-29 23:21:38 -04:00
changelog.md Organize frontend (#346) 2020-10-29 23:21:38 -04:00
LICENSE.txt Organize frontend (#346) 2020-10-29 23:21:38 -04:00
make-build.sh Organize frontend (#346) 2020-10-29 23:21:38 -04:00
Makefile Fix failed user request in dev mode (#1160) 2021-09-03 04:22:44 -07:00
package-lock.json Update frontend dependencies fix conflicts (#1811) 2021-11-20 20:28:53 -08:00
package.json Update frontend dependencies fix conflicts (#1811) 2021-11-20 20:28:53 -08:00
pb_disable-eslint.sh Organize frontend (#346) 2020-10-29 23:21:38 -04:00
README.md Remove shell prompt from readme code snippets (#1762) 2021-11-04 23:33:00 -07:00
yarn.lock Update frontend dependencies fix conflicts (#1811) 2021-11-20 20:28:53 -08:00

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, and SQUEAKNODE_WEBADMIN_ALLOW_CORS environment variables:
    virtualenv venv
    source venv/bin/activate
    pip install -r requirements.txt
    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