The Web interface for Peergos
Requires ant and Java 11.
NB: all other dependencies are checked into the repo, or into the submodule peergos repo.
sudo apt install openjdk-11-jdk ant
To get started following script will:
- checkout the project
- build the server
- build the web-ui
- start a local Peergos server on http://localhost:8000 for web-ui development in which all writes are local to memory
git checkout https://github.com/peergos/web-ui
cd web-ui
ant update_and_run
# To update the local server deployment (assumes Peergos is in ../Peergos)
ant update_server
# To run the server (after updating)
ant run
# or in a single command
ant update_and_run
# This builds our dependencies
ant vendor
# This builds our files
ant ui
# This continuously builds our files whenever a file changes or is added
ant watch_ui