GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - CoderBotOrg/backend: Python backend exposing an API to control, configure and program CoderBot.

BranchesTags
Open more actions menu

Latest commit

 

History

782 Commits
782 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
bin
bin
 
 
cnn_models
cnn_models
 
 
coderbot
coderbot
 
 
data
data
 
 
defaults
defaults
 
 
docker
docker
 
 
sounds
sounds
 
 
stub
stub
 
 
test
test
 
 
.gitignore
.gitignore
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE.txt
LICENSE.txt
 
 
README.md
README.md
 
 
pylintrc
pylintrc
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

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:

  • Legacy API: localhost:5000/<LEGACY_METHOD>;
  • Legacy JQuery web application: localhost:5000/old;
  • API v2: localhost:5000/v2;
  • New Vue web application: localhost:5000/ (assuming a vue-app build is placed in the dist/ folder);
  • Documentation: localhost:5000/docs assuming a docs build is placed in the cb_docs/ folder);
  • Swagger UI dynamic documentation of the API v2: localhost:5000/v2/ui/index.html (once you cloned the swagger-ui repository inside the backend folder).

About

Python backend exposing an API to control, configure and program CoderBot.

www.coderbot.org

Topics

blocklycoderbotgui-programmingprogrammablepythonrapid-developmentraspberry-pirobotvisual-coding

Resources

Readme
GPL-2.0 license

Contributing

Contributing
Activity
Custom properties

Stars

37 stars

Watchers

11 watching

Forks

17 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.