Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 2.03 KB

README.md

File metadata and controls

48 lines (33 loc) · 2.03 KB

backend

Build CoderBot backend

CoderBot is a RaspberryPI-based programmable robot for educational purposes. Check the project website for more information.

For further information about development and technical documentation, see the Wiki.

This repository contains the backend, exposing the CoderBot API.

Quickstart

Prerequisites:

sudo apt install python3 python3-venv

Be sure you have Python 3.6. You may need to use python3.6 and python3.6-venv packages on some repositories with python3 already pointing to 3.7 (e.g. debian unstable/sid).

git clone https://github.com/CoderBotOrg/coderbot.git
cd coderbot
python3 -m venv .
source bin/activate

# Install the basic requirements
pip3 install -r requirements_stub.txt
# Additional packages if you are running the real thing
pip3 install -r requirements.txt

# Start the backend in stub mode
PYTHONPATH=stub:test python3 init.py

# or, run the real thing if you're on a physical RPi
python3 init.py

Once started, the backend will expose a number of endpoints: