Skip to content

Latest commit

 

History

History

piccolo-admin

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Piccolo Admin example

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.

Getting started

  1. Create a Python virtual environment
  2. Activate the virtual environment
  3. Install dependencies in requirements.txt
  4. 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