Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 1.11 KB

README.md

File metadata and controls

50 lines (38 loc) · 1.11 KB

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