Skip to content

Provides all the necessary endpoints to give the memorization capability to Surirobot.

Notifications You must be signed in to change notification settings

suricats/surirobot-api-memory

Repository files navigation

Surirobot Memory API

API made with Django used to retrieve some informations stored by the surirobot. The informations include data like sensors, identifications, various logs, and pictures. Currently made to be a POC. The function of this repository may change in the future.

Requirements

Installation

Using Docker

docker build . -t api-memory
docker run --env-file .env -p 8000:8000 api-memory

From source

  • Clone repository
  • Create virtualenv
mkvirtualenv api-memory && workon api-memory
  • Install dependencies
pip install -r requirements.txt

Configure the environment file

  • Configure .env
cp .env.example .env

If you want to use the default environment

  • Fill only the REMOTE_DATA_LOGIN and REMOTE_DATA_PASSWD fields
  • Run the command : tools/get-env
  • Run the dev server
cd api
python manage.py runserver

Docs

About

Provides all the necessary endpoints to give the memorization capability to Surirobot.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published