A no sql lite database
$ pip install -r requirements.txt
All of this uses python3, use python2 at your own risk
$ virtualenv venv
$ source venv/bin/activate
You will need to set app
as a source root
$ export PYTHONDEVMODE=1
If this is not set or not set to "1"
, we will run in production mode
install docker to test in production-like environment: https://www.docker.com/
$ bash ./start.sh
$ touch uwsgi.ini
$ curl -X PUT \
-H "Content-Type: application/json" \
--data '{"key":"abcd","data":{"a":"b"}}' \
localhost:56733/write_data
$ curl -X GET "localhost:56733/get_data?key=abcd"
$ docker logs no_sql_lite
$ docker exec -it no_sql_lite /bin/bash
$ python main.py