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.
- Python3
- Virtualenvwrapper
pip install virtualenvwrapper - If you have some trouble with the command
workonsee : https://stackoverflow.com/questions/29900090/virtualenv-workon-doesnt-work
docker build . -t api-memory
docker run --env-file .env -p 8000:8000 api-memory- Clone repository
- Create virtualenv
mkvirtualenv api-memory && workon api-memory- Install dependencies
pip install -r requirements.txt- Configure .env
cp .env.example .envIf you want to use the default environment
- Fill only the
REMOTE_DATA_LOGINandREMOTE_DATA_PASSWDfields - Run the command :
tools/get-env
- Run the dev server
cd api
python manage.py runserver