Code to run backtivisda script in the server
images_manipulator and all its dependencies
(version 0.0.2)Install requirements.txt
pip install -r requirements.txt
Create .env file with:
SECRET_KEYUSERS : the list of the authenticated usersexport FLASK_APP=main;flask run --port 4000 --debugger --reload
Script scripts/create_token.py
sudo docker build -t aktivisdaserver:latest .
sudo docker run -p 4000:4000 -t aktivisdaserver:latest
Add to your nginx conf:
client_max_body_size 10M;
pytest is required
pytest