Skip to content

Unofficial web client for display data from R2Server API (public)

License

Notifications You must be signed in to change notification settings

Lukas0025/r2-public

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

r2-public

Unofficial web client for display data from R2Server API (public)

ScreenShot

more ScreenShots in /imgs

Setup using docker

  • create own setting file (setting.py), example you can found in setting-exmaple.py
  • run docker container with command
docker run -d \
  --name=r2cloud-public \
  --mount type=bind,source="$(pwd)/setting.py",target="/r2cloud_public/setting.py" \
  -p 5000:5000 \
  lukasplevac/r2cloud-public

example docker stack in docker-stack-example.xml

Advance docker

Build own image

docker build . -t lukasplevac/r2cloud-public

or

make build

volumes

  • /r2public/setting.py:ro - setting file
  • /r2public/static/a:rw - dir with downloaded a
  • /r2public/static/data:rw - dir with downloaded binary files (decoded binary)
  • /r2public/static/spects:rw - dir with downloaded spectrograms

ports

  • 5000 - http ui website

Setup without docker

  • install python3 and python3-pip - apt install python3 python3-pip
  • from pip3 install r2server, Flask, maidenhead, and requests - pip3 install Flask && pip3 install r2server && pip3 install requests && pip3 install maidenhead
  • create own setting file (setting.py), example you can found in setting-exmaple.py
  • run app using env FLASK_APP=root.py flask run in src dir