Skip to content

A Flask web Server to upload and serve images saving them on the filesystem without a DBMS. Intended to run on Render.com

License

Notifications You must be signed in to change notification settings

mastrolinux/raspberry-pi-security-camera-server

Repository files navigation

Web Server to preserve camera images on Render.com

This repo aims to save images captured to a service on render.com.

Setup of local environment on your machine (not a raspberry pi)

Clone this repo

git clone 

Create a virtual environment

python3 -m venv ./venv-server
source venv-server/bin/activate

Install the dependencies

pip install -r requirements.txt

Setup the .env file

Copy the .env-example-local file to .env and fill in the values.

cp .env-example-local .env

Then use your editor to edit the .env file.

Development mode run server

gunicorn main:app -b 127.0.0.1:5000 --reload

Production mode run server

gunicorn main:app -b 0.0.0.0:8080

About

A Flask web Server to upload and serve images saving them on the filesystem without a DBMS. Intended to run on Render.com

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published