This folder contains an example showing how to use the mount feature to run
a Piccolo Admin application in BlackSheep.
For more information on the mount feature, refer to the documentation.
For more information on Piccolo Admin, refer to its project in GitHub.
- Create a Python virtual environment
- Activate the virtual environment
- Install dependencies in
requirements.txt - Run, using the desired HTTP server (e.g.
uvicorn server:app --reload)
# create a Python virtual environment
python -m venv venv
# activate
source venv/bin/activate # (Linux)
venv\Scripts\activate # (Windows)
# install dependencies
pip install -r requirements.txt
# run
uvicorn server:app --reload