pipx install poetry
.brew install libtiff libjpeg webp little-cms2
sudo apt install libtiff5-dev libjpeg8-dev libopenjp2-7-dev zlib1g-dev \
libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev python3-tk \
libharfbuzz-dev libfribidi-dev libxcb1-dev
poetry install
poetry shell
pip install setuptools
./seed_data.sh
script.Bangazon Python API.postman_collection.json
file or choose it by clicking the files link in the window.To test it out...
You should get a response back that looks like this.
{
"valid": true,
"token": "9ba45f09651c5b0c404f37a2d2572c026c146690",
"id": 5
}
Look in the users.json
file for the usernames. Every password is Admin8*.
You can run the ./seed-data.sh
script any time to make changes to database models, or just want to roll back your data to its original state. It deletes the database, any existing migrations, and then re-creates the database based on your current models, and inserts starter data.