brewery-website/run.sh
Chris Giacofei 1d830eb22d More batch info.
Please enter the commit message for your changes. Lines starting
2024-06-24 16:25:18 -04:00

10 lines
351 B
Bash
Executable File

#! /usr/bin/env bash
source .env/bin/activate || source .env/Scripts/activate
find -name "*.py" -not -name "manage.py" -not -path "./.env/*" -not -path "*/migrations/*" -exec python -m flake8 {} \;
pip install --upgrade -r requirements.txt > /dev/null
python manage.py makemigrations
python manage.py migrate
python manage.py runserver 0.0.0.0:9595