Skip to content

Commit

Permalink
Merge pull request #6 from tldtest/webdesign
Browse files Browse the repository at this point in the history
Webdesign
  • Loading branch information
altf4arnold authored Feb 29, 2024
2 parents dc483f2 + 13c7665 commit 2a7ee59
Show file tree
Hide file tree
Showing 14 changed files with 1,179 additions and 8 deletions.
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,23 @@ source venv/bin/activate
pip install -r requirements.txt
./manage.py migrate
./manage.py runserver
```
```


# When running in debug False :
```
./manage.py collectstatic
./manage.py runserver --insecure
```

# CSS :
To install the CSS bundler :
```
npm install -D tailwindcss
npx tailwindcss init
```

To update CSS files (they use the tailwinds framework)
```
npx tailwindcss -i ./static/src/input.css -o ./static/src/output.css
```
2 changes: 2 additions & 0 deletions requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ build==1.0.3
click==8.1.7
Django==5.0.2
django-admin-extra-buttons==1.5.7
django-compressor==4.4
flake8==7.0.0
mccabe==0.7.0
packaging==23.2
Expand All @@ -11,3 +12,4 @@ pycodestyle==2.11.1
pyflakes==3.2.0
pyproject_hooks==1.0.0
sqlparse==0.4.4

12 changes: 11 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,15 @@ click==8.1.7
# -r requirements.in
# pip-tools
django==5.0.2
# via -r requirements.in
# via
# -r requirements.in
# django-appconf
django-admin-extra-buttons==1.5.7
# via -r requirements.in
django-appconf==1.0.6
# via django-compressor
django-compressor==4.4
# via -r requirements.in
flake8==7.0.0
# via -r requirements.in
mccabe==0.7.0
Expand All @@ -44,6 +50,10 @@ pyproject-hooks==1.0.0
# via
# -r requirements.in
# build
rcssmin==1.1.1
# via django-compressor
rjsmin==1.2.1
# via django-compressor
sqlparse==0.4.4
# via
# -r requirements.in
Expand Down
Binary file added static/images/image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions static/src/input.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
Loading

0 comments on commit 2a7ee59

Please sign in to comment.