Skip to content

Latest commit

 

History

History
37 lines (30 loc) · 760 Bytes

README.md

File metadata and controls

37 lines (30 loc) · 760 Bytes

webapp

Flask webapp for interacting and remotely controlling the MASCCOT robot via WiFi.

Setup instructions

# Clone the repository and its submodules
git clone https://github.com/DVC-Viking-Robotics/webapp
cd webapp
git checkout master
git submodule update --init --recursive

# Prepare the virtual environment
pip install virtualenv
python -m venv env
# Activate the virtual environment
# FOR WINDOWS
env\\Scripts\\activate.bat

# FOR LINUX
source env/bin/activate

pip install -r requirements.txt

On the Raspberry Pi, you'll need to install the picamera module via apt:

sudo apt-get install python3-picamera

Running the server

python -m webapp.app [cmd args]
# cmd args currently not supported