The Remote-GUI is a command-line and web-based interface tool designed to simplify and automate tasks for local development.
This guide will help you set up and run the project on your machine.
docker build -f Dockerfile . -t anylogco/remote-gui:latestVolumes used:
image-vol:/app/CLI/local-cli-backend/static/– stores images retrieved via query requestsusr-mgm-vol:/app/CLI/local-cli/backend/usr-mgm/– stores configurations and management files
Basic Docker Run:
docker run -it -p 8000:8000 -p 3001:3001 --name gui-1 --rm anylogco/remote-guiDocker Compose:
docker compose -f ./docker-compose.yaml up -dBefore you begin, ensure you have the following installed:
-
Inside the
Local-CLIdirectory, cd intolocal-cli-backend:python -m venv . -
Activate the virtual environment:
- Windows:
.\venv\Scripts\activate
- macOS/Linux:
source ./venv/bin/activate
- Windows:
-
Install the required packages:
pip install -r reqs.txt
Additional useful packages:
pip install python-dotenv psycopg2 psycopg2-binary
-
Run the backend server:
fastapi dev main.py # Run on cloud fastapi dev CLI/Local_CLI/local_cli_backend/main.py --host 0.0.0.0 --port 8000 -
The backend server should now be running at:
👉http://127.0.0.1:8000
-
Inside the
Local-CLIdirectory, cd intolocal-cli-fe-fulland install dependencies:npm install
-
Start the frontend server:
npm start
On Ubuntu:
export NODE_OPTIONS=--openssl-legacy-provider npm start -
Open your browser and go to 👉
http://localhost:3000
(Documentation pending – to be expanded in future versions.)
Follow the instructions from the AnyLog API GitHub Repository.
Run this while the backend venv is activated:
python3 -m pip install $HOME/AnyLog-API/dist/anylog_api-0.0.0-py2.py3-none-any.whlYou can connect to a node in two ways:
- Local node (via Docker Compose): use the IP and port from the container (usually
127.0.0.1:32049). - Hosted node: use
23.239.12.151:32349.
-
Build:
docker build -f Dockerfile . -t gui -
Run (local):
docker run -it --rm -p 8000:8000 -p 3001:3001 -e REACT_APP_API_URL=http://127.0.0.1:8000 --name gui oshadmon/gui:test
-
Run (production):
docker run -d --name gui -p 8000:8000 -p 3001:3001 -e REACT_APP_API_URL=http://${EXTERNAL_IP}:8000 -e FRONTEND_URL=http://${EXTERNAL_IP}:3001 oshadmon/gui:test
(Coming soon)
(Coming soon)
(Coming soon)
(Coming soon)