Skip to content

Commit

Permalink
[#N/A] Setup tailwind.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmckissock committed Jul 26, 2024
1 parent a98c00c commit 6ddb54a
Show file tree
Hide file tree
Showing 13 changed files with 1,817 additions and 0 deletions.
2 changes: 2 additions & 0 deletions audioapp/templates/audioapp/base.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{% load static tailwind_tags %}
<!DOCTYPE html>
<html>
<head>
{% tailwind_css %}
</head>
<body>
<header>
Expand Down
20 changes: 20 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,35 @@
arrow==1.3.0
asgiref==3.8.1
binaryornot==0.4.4
black==24.4.2
certifi==2024.7.4
chardet==5.2.0
charset-normalizer==3.3.2
click==8.1.7
cookiecutter==2.6.0
Django==5.0.7
django-allauth==0.63.6
django-tailwind==3.8.0
factory-boy==3.3.0
Faker==26.0.0
idna==3.7
Jinja2==3.1.4
markdown-it-py==3.0.0
MarkupSafe==2.1.5
mdurl==0.1.2
mypy-extensions==1.0.0
packaging==24.1
pathspec==0.12.1
platformdirs==4.2.2
psycopg2-binary==2.9.9
Pygments==2.18.0
python-dateutil==2.9.0.post0
python-slugify==8.0.4
PyYAML==6.0.1
requests==2.32.3
rich==13.7.1
six==1.16.0
sqlparse==0.5.1
text-unidecode==1.3
types-python-dateutil==2.9.0.20240316
urllib3==2.2.2
8 changes: 8 additions & 0 deletions shortaudio/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
'allauth',
'allauth.account',
'audioapp.apps.AudioappConfig',
'tailwind',
'theme',
]

MIDDLEWARE = [
Expand Down Expand Up @@ -137,3 +139,9 @@

MEDIA_URL = '/media/'
MEDIA_ROOT = BASE_DIR / 'media'

TAILWIND_APP_NAME = 'theme'

INTERNAL_IPS = [
"127.0.0.1",
]
Empty file added theme/__init__.py
Empty file.
5 changes: 5 additions & 0 deletions theme/apps.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from django.apps import AppConfig


class ThemeConfig(AppConfig):
name = 'theme'
1 change: 1 addition & 0 deletions theme/static/css/dist/styles.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions theme/static_src/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
Loading

0 comments on commit 6ddb54a

Please sign in to comment.