Skip to content

Commit deb8785

Browse files
committed
alive & kicking!
0 parents  commit deb8785

File tree

19 files changed

+2151
-0
lines changed

19 files changed

+2151
-0
lines changed

.gitignore

Lines changed: 269 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,269 @@
1+
# Django #
2+
*.log
3+
*.pot
4+
*.pyc
5+
__pycache__
6+
db.sqlite3
7+
media
8+
9+
# Backup files #
10+
*.bak
11+
12+
# If you are using PyCharm #
13+
# User-specific stuff
14+
.idea/**/workspace.xml
15+
.idea/**/tasks.xml
16+
.idea/**/usage.statistics.xml
17+
.idea/**/dictionaries
18+
.idea/**/shelf
19+
20+
# AWS User-specific
21+
.idea/**/aws.xml
22+
23+
# Generated files
24+
.idea/**/contentModel.xml
25+
26+
# Sensitive or high-churn files
27+
.idea/**/dataSources/
28+
.idea/**/dataSources.ids
29+
.idea/**/dataSources.local.xml
30+
.idea/**/sqlDataSources.xml
31+
.idea/**/dynamic.xml
32+
.idea/**/uiDesigner.xml
33+
.idea/**/dbnavigator.xml
34+
35+
# Gradle
36+
.idea/**/gradle.xml
37+
.idea/**/libraries
38+
39+
# File-based project format
40+
*.iws
41+
42+
# IntelliJ
43+
out/
44+
45+
# JIRA plugin
46+
atlassian-ide-plugin.xml
47+
48+
# Python #
49+
*.py[cod]
50+
*$py.class
51+
52+
# Distribution / packaging
53+
.Python build/
54+
develop-eggs/
55+
dist/
56+
downloads/
57+
eggs/
58+
.eggs/
59+
lib/
60+
lib64/
61+
parts/
62+
sdist/
63+
var/
64+
wheels/
65+
*.egg-info/
66+
.installed.cfg
67+
*.egg
68+
*.manifest
69+
*.spec
70+
71+
# Installer logs
72+
pip-log.txt
73+
pip-delete-this-directory.txt
74+
75+
# Unit test / coverage reports
76+
htmlcov/
77+
.tox/
78+
.coverage
79+
.coverage.*
80+
.cache
81+
.pytest_cache/
82+
nosetests.xml
83+
coverage.xml
84+
*.cover
85+
.hypothesis/
86+
87+
# Jupyter Notebook
88+
.ipynb_checkpoints
89+
90+
# pyenv
91+
.python-version
92+
93+
# celery
94+
celerybeat-schedule.*
95+
96+
# SageMath parsed files
97+
*.sage.py
98+
99+
# Environments
100+
.env
101+
.venv
102+
env/
103+
venv/
104+
ENV/
105+
env.bak/
106+
venv.bak/
107+
108+
# mkdocs documentation
109+
/site
110+
111+
# mypy
112+
.mypy_cache/
113+
114+
# Sublime Text #
115+
*.tmlanguage.cache
116+
*.tmPreferences.cache
117+
*.stTheme.cache
118+
*.sublime-workspace
119+
*.sublime-project
120+
121+
# sftp configuration file
122+
sftp-config.json
123+
124+
# Package control specific files Package
125+
Control.last-run
126+
Control.ca-list
127+
Control.ca-bundle
128+
Control.system-ca-bundle
129+
GitHub.sublime-settings
130+
131+
# Visual Studio Code #
132+
!.vscode/
133+
.history
134+
135+
######
136+
137+
# Logs
138+
logs
139+
*.log
140+
npm-debug.log*
141+
yarn-debug.log*
142+
yarn-error.log*
143+
lerna-debug.log*
144+
.pnpm-debug.log*
145+
146+
# Diagnostic reports (https://nodejs.org/api/report.html)
147+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
148+
149+
# Runtime data
150+
pids
151+
*.pid
152+
*.seed
153+
*.pid.lock
154+
155+
# Directory for instrumented libs generated by jscoverage/JSCover
156+
lib-cov
157+
158+
# Coverage directory used by tools like istanbul
159+
coverage
160+
*.lcov
161+
162+
# nyc test coverage
163+
.nyc_output
164+
165+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
166+
.grunt
167+
168+
# Bower dependency directory (https://bower.io/)
169+
bower_components
170+
171+
# node-waf configuration
172+
.lock-wscript
173+
174+
# Compiled binary addons (https://nodejs.org/api/addons.html)
175+
build/Release
176+
177+
# Dependency directories
178+
node_modules/
179+
jspm_packages/
180+
181+
# Snowpack dependency directory (https://snowpack.dev/)
182+
web_modules/
183+
184+
# TypeScript cache
185+
*.tsbuildinfo
186+
187+
# Optional npm cache directory
188+
.npm
189+
190+
# Optional eslint cache
191+
.eslintcache
192+
193+
# Optional stylelint cache
194+
.stylelintcache
195+
196+
# Microbundle cache
197+
.rpt2_cache/
198+
.rts2_cache_cjs/
199+
.rts2_cache_es/
200+
.rts2_cache_umd/
201+
202+
# Optional REPL history
203+
.node_repl_history
204+
205+
# Output of 'npm pack'
206+
*.tgz
207+
208+
# Yarn Integrity file
209+
.yarn-integrity
210+
211+
# dotenv environment variable files
212+
.env
213+
.env.development.local
214+
.env.test.local
215+
.env.production.local
216+
.env.local
217+
218+
# parcel-bundler cache (https://parceljs.org/)
219+
.cache
220+
.parcel-cache
221+
222+
# Next.js build output
223+
.next
224+
out
225+
226+
# Nuxt.js build / generate output
227+
.nuxt
228+
dist
229+
230+
# Gatsby files
231+
.cache/
232+
# Comment in the public line in if your project uses Gatsby and not Next.js
233+
# https://nextjs.org/blog/next-9-1#public-directory-support
234+
# public
235+
236+
# vuepress build output
237+
.vuepress/dist
238+
239+
# vuepress v2.x temp and cache directory
240+
.temp
241+
.cache
242+
243+
# Docusaurus cache and generated files
244+
.docusaurus
245+
246+
# Serverless directories
247+
.serverless/
248+
249+
# FuseBox cache
250+
.fusebox/
251+
252+
# DynamoDB Local files
253+
.dynamodb/
254+
255+
# TernJS port file
256+
.tern-port
257+
258+
# Stores VSCode versions used for testing VSCode extensions
259+
.vscode-test
260+
261+
# yarn v2
262+
.yarn/cache
263+
.yarn/unplugged
264+
.yarn/build-state.yml
265+
.yarn/install-state.gz
266+
.pnp.*
267+
268+
# django-compressor cache output
269+
static/

.prettierrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"plugins": ["prettier-plugin-tailwindcss"]
3+
}

.vscode/settings.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"[python]": {
3+
"editor.defaultFormatter": "ms-python.black-formatter"
4+
},
5+
"[javascript]": {
6+
"editor.defaultFormatter": "esbenp.prettier-vscode"
7+
},
8+
"[html]": {
9+
"editor.defaultFormatter": "esbenp.prettier-vscode"
10+
},
11+
"[css]": {
12+
"editor.defaultFormatter": "bradlc.vscode-tailwindcss"
13+
},
14+
"djlint.ignore": ["H006"]
15+
}

Makefile

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
install:
2+
pipenv sync
3+
4+
run:
5+
pipenv run python manage.py runserver
6+
7+
migrate:
8+
pipenv run python manage.py migrate
9+
10+
collectstatic:
11+
pipenv run python manage.py collectstatic
12+
13+
tailwind-run:
14+
npx tailwindcss -i ./static/src/input.css -o ./static/src/output.css --watch
15+
16+
local:
17+
make -j 2 tailwind-run run
18+
.PHONY: local

Pipfile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[[source]]
2+
url = "https://pypi.org/simple"
3+
verify_ssl = true
4+
name = "pypi"
5+
6+
[packages]
7+
django = "*"
8+
django-compressor = "*"
9+
10+
[dev-packages]
11+
djlint = "*"
12+
13+
[requires]
14+
python_version = "3.11"

0 commit comments

Comments
 (0)