diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 0000000..ef787b7 --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,15 @@ +# This configuration file was automatically generated by Gitpod. +# Please adjust to your needs (see https://www.gitpod.io/docs/introduction/learn-gitpod/gitpod-yaml) +# and commit this file to your remote git repository to share the goodness with others. + +# Learn more from ready-to-use templates: https://www.gitpod.io/docs/introduction/getting-started/quickstart + +tasks: + - init: | + pyenv install --skip-existing + pip install -r requirements.txt + - command: gunicorn --reload -b 0.0.0.0:8080 inspector.main:app + +ports: + - port: 8080 + onOpen: open-preview diff --git a/README.md b/README.md index ff9c105..3a6e122 100644 --- a/README.md +++ b/README.md @@ -5,3 +5,14 @@ quickly share specific contents of a project hosted on PyPI when submitting security reports. Inspector is not currently supported for any other purpose. + + +## Develop + +You can use any old way to install & run `inspector` locally. + +We support `docker compose` via `make serve`. + +You may also launch a Gitpod Workspace, which should set up most things for you: + +[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/pypi/inspector)