Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

dev:
echo http://lh.co
python manage.py runserver 0:80
uv run manage.py runserver 0:80

migrate:
python manage.py migrate
uv run manage.py migrate

makemigrations:
python manage.py makemigrations
uv run manage.py makemigrations

shell:
sudo heroku run python manage.py shell --app bear-blog
sudo heroku run uv run manage.py shell --app bear-blog

logs:
sudo heroku logs --tail --app bear-blog --force-colors | grep "app\[web" | grep -Ev "(GET|POST|HEAD|OPTIONS)"
Expand All @@ -20,4 +20,4 @@ logs:
sudo heroku logs --tail --app bear-blog --force-colors | grep "heroku\[" | grep "404"

router:
sudo heroku logs --tail --app bear-blog --force-colors | grep "heroku\[router" | grep -Ev "feed"
sudo heroku logs --tail --app bear-blog --force-colors | grep "heroku\[router" | grep -Ev "feed"
4 changes: 2 additions & 2 deletions Procfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
release: python manage.py migrate
web: gunicorn conf.wsgi --log-file - --timeout 24 --graceful-timeout 5 --max-requests 10000
release: uv run manage.py migrate
web: uv run gunicorn conf.wsgi --log-file - --timeout 24 --graceful-timeout 5 --max-requests 10000F
31 changes: 31 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
[project]
name = "bearblog"
version = "0.0.1"
dependencies = [
"boto3>=1.36.24",
"dj-database-url>=2.3.0",
"django>=5.1.6",
"django-allauth>=0.57.0",
"django-debug-toolbar>=5.0.1",
"django-ip>=1.0.2",
"django-pygmentify>=0.3.7",
"django-queryset-csv>=1.1.0",
"django-redis>=5.4.0",
"feedgen>=0.9.0",
"geoip2>=4.6.0",
"gunicorn>=23.0.0",
"httpagentparser>=1.9.2",
"judoscale>=1.7.5",
"latex2mathml>=3.77.0",
"mistune>=3.0.1",
"pillow>=10.4.0",
"psycopg2>=2.9.10",
"pygal>=3.0.5",
"python-akismet>=0.4.3",
"python-dotenv>=1.0.0",
"requests>=2.27.1",
"sentry-sdk>=2.19.0",
"tldextract>=2.2.2",
"tzdata>=2025.2",
"whitenoise>=5.0.1",
]
26 changes: 0 additions & 26 deletions requirements.txt

This file was deleted.

Loading