Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 988 Bytes

DEVELOP.md

File metadata and controls

39 lines (28 loc) · 988 Bytes

Developer instructions

This file was generated automatically

Project Structure

A skeleton Flask app was automatically configured by pyreleaser_io for:

Running a development server

FLASK_APP=artifactory_cloud_proxy pipenv run flask run

Running a production (uwsgi) server

pipenv run uwsgi -s /tmp/artifactory_cloud_proxy.sock --manage-script-name --mount /artifactory_cloud_proxy=artifactory_cloud_proxy:app

Reference: https://flask.palletsprojects.com/en/1.1.x/deploying/uwsgi/

Testing

Approach based on:

FLASK_APP=artifactory_cloud_proxy pipenv run pytest

Getting a shell

pipenv shell