Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backend] : Improvements #574

Merged
merged 229 commits into from
Sep 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
229 commits
Select commit Hold shift + click to select a range
bf42a08
move some files
baseplate-admin Sep 4, 2022
d1d50ad
add
baseplate-admin Sep 4, 2022
24866e6
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 4, 2022
43bc2f2
add
baseplate-admin Sep 4, 2022
728772e
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 4, 2022
55739d1
Add
baseplate-admin Sep 4, 2022
dd84080
Merge branch 'more-rework' of https://github.com/baseplate-admin/Core…
baseplate-admin Sep 4, 2022
df06ba3
Better logs
baseplate-admin Sep 4, 2022
5af8f4b
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 4, 2022
6cf1e2d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 4, 2022
1e9a505
God knows why i tried celery
baseplate-admin Sep 4, 2022
80facd7
fix some
baseplate-admin Sep 4, 2022
81c381a
Update populate_characters.py
baseplate-admin Sep 4, 2022
31cd232
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 4, 2022
2da21f5
update
baseplate-admin Sep 4, 2022
014ed1f
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 4, 2022
1e89766
rename
baseplate-admin Sep 4, 2022
72f9ab6
Merge branch 'more-rework' of https://github.com/baseplate-admin/Core…
baseplate-admin Sep 4, 2022
d726470
add
baseplate-admin Sep 5, 2022
de5a15a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 5, 2022
3b447d5
add
baseplate-admin Sep 5, 2022
7bec923
Merge branch 'more-rework' of https://github.com/baseplate-admin/Core…
baseplate-admin Sep 5, 2022
0d5ac89
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 5, 2022
4dd1449
fix staff
baseplate-admin Sep 5, 2022
795ec25
more fix
baseplate-admin Sep 5, 2022
2f9562d
Merge branch 'more-rework' of https://github.com/baseplate-admin/Core…
baseplate-admin Sep 5, 2022
c44d066
refractor
baseplate-admin Sep 5, 2022
2ad2631
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 5, 2022
8d865af
Create populate_staff.py
baseplate-admin Sep 5, 2022
b9c4c90
add
baseplate-admin Sep 5, 2022
8692c20
Merge branch 'more-rework' of https://github.com/baseplate-admin/Core…
baseplate-admin Sep 5, 2022
345fe58
add
baseplate-admin Sep 5, 2022
d58d0b3
Create .gitignore
baseplate-admin Sep 5, 2022
d7fae32
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 5, 2022
468dae8
addd
baseplate-admin Sep 5, 2022
e470fde
Merge branch 'more-rework' of https://github.com/baseplate-admin/Core…
baseplate-admin Sep 5, 2022
5b64357
Update populate_staff.py
baseplate-admin Sep 5, 2022
4423264
remove
baseplate-admin Sep 5, 2022
47d5476
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 5, 2022
4c91b62
Update populate_staff.py
baseplate-admin Sep 5, 2022
f86efd5
Merge branch 'more-rework' of https://github.com/baseplate-admin/Core…
baseplate-admin Sep 5, 2022
611fd85
Update populate_staff.py
baseplate-admin Sep 5, 2022
a5338bb
Update populate_staff.py
baseplate-admin Sep 5, 2022
f08f7b2
add
baseplate-admin Sep 5, 2022
de92514
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 5, 2022
f5ce239
more fixes
baseplate-admin Sep 5, 2022
ac3df44
add
baseplate-admin Sep 5, 2022
1bb9ae5
.
baseplate-admin Sep 5, 2022
aab2216
,,
baseplate-admin Sep 5, 2022
def1f02
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 5, 2022
b3b5b25
Update populate_staff.py
baseplate-admin Sep 5, 2022
5b89814
better :D
baseplate-admin Sep 5, 2022
7669778
update
baseplate-admin Sep 5, 2022
7d17e8d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 5, 2022
0ddbae6
fix math
baseplate-admin Sep 5, 2022
5ca09d5
Merge branch 'more-rework' of https://github.com/baseplate-admin/Core…
baseplate-admin Sep 5, 2022
6d065dc
Switch to custom `storage`
baseplate-admin Sep 5, 2022
1fb8fc5
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 5, 2022
b90a52c
Update __init__.py
baseplate-admin Sep 5, 2022
890139f
more work
baseplate-admin Sep 5, 2022
39bbcfc
Merge branch 'more-rework' of https://github.com/baseplate-admin/Core…
baseplate-admin Sep 5, 2022
e9d4d05
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 5, 2022
a2c7759
Merge branch 'master' into more-rework
baseplate-admin Sep 5, 2022
abf5565
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 5, 2022
cbc616c
Update storages.py
baseplate-admin Sep 5, 2022
9127dd8
Update populate_characters.py
baseplate-admin Sep 5, 2022
823e518
add
baseplate-admin Sep 5, 2022
01d7f74
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 5, 2022
390007d
add
baseplate-admin Sep 5, 2022
4ddc367
Merge branch 'more-rework' of https://github.com/baseplate-admin/Core…
baseplate-admin Sep 5, 2022
356f6ac
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 5, 2022
18550c0
Merge branch 'master' into more-rework
baseplate-admin Sep 6, 2022
9db928b
Update populate_staff.py
baseplate-admin Sep 6, 2022
a9f408e
Merge branch 'more-rework' of https://github.com/baseplate-admin/Core…
baseplate-admin Sep 6, 2022
ffaba55
A bit of rework
baseplate-admin Sep 6, 2022
a1748fd
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 6, 2022
8d4040d
Merge branch 'master' into more-rework
baseplate-admin Sep 6, 2022
ba1bc8b
refractorr
baseplate-admin Sep 6, 2022
18a8a95
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 6, 2022
2683857
Some fixes
baseplate-admin Sep 6, 2022
5310007
Merge branch 'more-rework' of https://github.com/baseplate-admin/Core…
baseplate-admin Sep 6, 2022
af26584
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 6, 2022
94751da
Update populate_staffs.py
baseplate-admin Sep 6, 2022
2fc1a60
Update .pre-commit-config.yaml
baseplate-admin Sep 6, 2022
c65ce9c
Update .pre-commit-config.yaml
baseplate-admin Sep 6, 2022
6790006
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 6, 2022
5af8dfe
Add
baseplate-admin Sep 7, 2022
ee9da8c
Update populate_characters.py
baseplate-admin Sep 7, 2022
b217c83
Update populate_characters.py
baseplate-admin Sep 7, 2022
0c0f857
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 7, 2022
4143d84
Update populate_characters.py
baseplate-admin Sep 7, 2022
d0971ce
Merge branch 'master' into more-rework
baseplate-admin Sep 7, 2022
03b2db0
Refractor
baseplate-admin Sep 7, 2022
65a6151
add
baseplate-admin Sep 7, 2022
5d5e1fd
Add
baseplate-admin Sep 7, 2022
920b6c6
Merge branch 'master' into more-rework
baseplate-admin Sep 7, 2022
8c92489
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 7, 2022
0002654
add
baseplate-admin Sep 7, 2022
8105d28
Merge branch 'more-rework' of https://github.com/baseplate-admin/Core…
baseplate-admin Sep 7, 2022
46b6b74
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 7, 2022
32cdef6
add
baseplate-admin Sep 7, 2022
8c1ceec
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 7, 2022
44f7b8c
Update schemas.py
baseplate-admin Sep 7, 2022
6a08db9
Update __init__.py
baseplate-admin Sep 7, 2022
93ae4e6
Fully typed
baseplate-admin Sep 8, 2022
1d5820e
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 8, 2022
c84aed2
More type coverage
baseplate-admin Sep 8, 2022
dfb280f
Merge branch 'more-rework' of https://github.com/baseplate-admin/Core…
baseplate-admin Sep 8, 2022
da646b5
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 8, 2022
c46b23e
Update episode.py
baseplate-admin Sep 8, 2022
136df0f
More fixes
baseplate-admin Sep 8, 2022
998c586
add
baseplate-admin Sep 8, 2022
b9e3e71
forget it
baseplate-admin Sep 8, 2022
dd2b15a
add
baseplate-admin Sep 8, 2022
6dc968a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 8, 2022
45b6f87
Bump @sveltejs/kit in /frontend/AnimeCore
dependabot[bot] Sep 8, 2022
0b2d39b
Add lock file
baseplate-admin Sep 9, 2022
4eb9765
Merge branch 'master' into more-rework
baseplate-admin Sep 9, 2022
3c06492
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 9, 2022
cd4c135
add
baseplate-admin Sep 9, 2022
8eeaab8
Update pyproject.toml
baseplate-admin Sep 9, 2022
f094308
Merge branch 'more-rework' of https://github.com/baseplate-admin/Core…
baseplate-admin Sep 9, 2022
8ecd8ec
Update pyproject.toml
baseplate-admin Sep 9, 2022
43087db
add
baseplate-admin Sep 9, 2022
03aefa0
Merge branch 'more-rework' into dependabot/npm_and_yarn/frontend/Anim…
baseplate-admin Sep 9, 2022
314a0dd
Merge pull request #553 from baseplate-admin/dependabot/npm_and_yarn/…
baseplate-admin Sep 9, 2022
bc85f65
Merge branch 'master' into more-rework
baseplate-admin Sep 9, 2022
9bcefe0
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 9, 2022
6c50c10
Update package-lock.json
baseplate-admin Sep 10, 2022
85c3f0a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 10, 2022
ce7bc1b
add
baseplate-admin Sep 10, 2022
8cf4534
Merge branch 'more-rework' of https://github.com/baseplate-admin/Core…
baseplate-admin Sep 10, 2022
dade048
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 10, 2022
fab84d0
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 11, 2022
69ee642
Update urls.py
baseplate-admin Sep 11, 2022
2945b47
add
baseplate-admin Sep 11, 2022
7e11e57
Merge branch 'more-rework' of https://github.com/baseplate-admin/Core…
baseplate-admin Sep 11, 2022
8443529
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 11, 2022
487af04
add
baseplate-admin Sep 11, 2022
4a7c0c3
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 11, 2022
139b589
Update populate_characters.py
baseplate-admin Sep 11, 2022
78c24ba
add
baseplate-admin Sep 11, 2022
0a15fea
Merge branch 'more-rework' of https://github.com/baseplate-admin/Core…
baseplate-admin Sep 11, 2022
4bc3f27
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 11, 2022
1cbfe8b
Update pyproject.toml
baseplate-admin Sep 11, 2022
ed6b720
Merge branch 'more-rework' of https://github.com/baseplate-admin/Core…
baseplate-admin Sep 11, 2022
11e6fca
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 11, 2022
c203ee9
Use Streaming HTTP Response
baseplate-admin Sep 11, 2022
d4c4b84
Merge branch 'more-rework' of https://github.com/baseplate-admin/Core…
baseplate-admin Sep 11, 2022
3793c48
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 11, 2022
a911999
finish
baseplate-admin Sep 12, 2022
159f313
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 12, 2022
edeb66f
Update views.py
baseplate-admin Sep 12, 2022
52c7d1f
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 12, 2022
ec82d74
use aiohttp to serve media
baseplate-admin Sep 12, 2022
346f814
add files
baseplate-admin Sep 13, 2022
df1f34b
refractor
baseplate-admin Sep 13, 2022
be96e25
fix
baseplate-admin Sep 13, 2022
143639f
.
baseplate-admin Sep 13, 2022
3cc081e
reuse django template
baseplate-admin Sep 14, 2022
cef471e
add
baseplate-admin Sep 14, 2022
b098c51
move files
baseplate-admin Sep 19, 2022
d052a51
Fix monorepo
baseplate-admin Sep 20, 2022
27bd00e
fix
baseplate-admin Sep 20, 2022
0741b61
fix aiohttp
baseplate-admin Sep 20, 2022
af85ba6
Fix
baseplate-admin Sep 20, 2022
4e24516
fixes
baseplate-admin Sep 20, 2022
903eb2e
add
baseplate-admin Sep 21, 2022
b47cc51
fix
baseplate-admin Sep 21, 2022
1aecf5c
Update avatar.py
baseplate-admin Sep 21, 2022
1ad5d6c
Update Pipfile
baseplate-admin Sep 21, 2022
1026460
add
baseplate-admin Sep 21, 2022
e8c59c2
add
baseplate-admin Sep 21, 2022
ccebc56
add
baseplate-admin Sep 21, 2022
7434522
Merge branch 'master' into more-rework
baseplate-admin Sep 21, 2022
2978318
Add
baseplate-admin Sep 22, 2022
e6fd8eb
Update managers.py
baseplate-admin Sep 22, 2022
37dc67c
Update avatar.py
baseplate-admin Sep 22, 2022
cde6ae2
Update models.py
baseplate-admin Sep 22, 2022
7eec309
Partial work on #545
baseplate-admin Sep 22, 2022
c773667
use DRY
baseplate-admin Sep 22, 2022
06c548c
More CodeQL
baseplate-admin Sep 22, 2022
065f821
final fix
baseplate-admin Sep 22, 2022
cc85f5d
Update populate_characters.py
baseplate-admin Sep 22, 2022
ac875fb
better logics
baseplate-admin Sep 23, 2022
4713a2a
add
baseplate-admin Sep 23, 2022
46141ab
fix
baseplate-admin Sep 23, 2022
0ad88ab
BETTER LOGICS
baseplate-admin Sep 23, 2022
e6a35b0
final logic
baseplate-admin Sep 23, 2022
f171e33
Fix
baseplate-admin Sep 23, 2022
03ff85e
Finally remove requests
baseplate-admin Sep 23, 2022
540da64
update
baseplate-admin Sep 23, 2022
280082e
add
baseplate-admin Sep 23, 2022
fa21ca5
Fix
baseplate-admin Sep 23, 2022
d203fb8
Add
baseplate-admin Sep 23, 2022
d64c6c8
Fix
baseplate-admin Sep 23, 2022
50af8c6
Fixxx
baseplate-admin Sep 23, 2022
283c58e
add
baseplate-admin Sep 23, 2022
6a7db10
add
baseplate-admin Sep 24, 2022
6d631a3
Partial work
baseplate-admin Sep 24, 2022
28ccba0
Name `AioHttp` `Butler`
baseplate-admin Sep 25, 2022
8527c9c
Update ARCHITECTURE.rst
baseplate-admin Sep 25, 2022
85c49dd
Merge branch 'master' into more-rework
baseplate-admin Sep 25, 2022
5d585fc
Create TODO
baseplate-admin Sep 25, 2022
afd71b7
Add
baseplate-admin Sep 25, 2022
46e48cc
AutoFlake
baseplate-admin Sep 25, 2022
07f211a
Delete package-lock.json
baseplate-admin Sep 27, 2022
b207931
Update package.json
baseplate-admin Sep 27, 2022
567cc07
Create package-lock.json
baseplate-admin Sep 27, 2022
323ae89
Rename
baseplate-admin Sep 27, 2022
a943104
Merge branch 'more-rework' of https://github.com/baseplate-admin/Core…
baseplate-admin Sep 27, 2022
8b9c5e8
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 27, 2022
ddc82d1
Merge branch 'master' into more-rework
baseplate-admin Sep 27, 2022
c8dfa7a
more renaming
baseplate-admin Sep 27, 2022
71c60df
Merge branch 'more-rework' of https://github.com/baseplate-admin/Core…
baseplate-admin Sep 27, 2022
fcee261
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 27, 2022
03d0cde
Update dependabot.yml
baseplate-admin Sep 27, 2022
559c0c9
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 27, 2022
29ea968
add
baseplate-admin Sep 27, 2022
38b7ba2
Update user.py
baseplate-admin Sep 27, 2022
ce84f6a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 27, 2022
d2d582c
Merge branch 'more-rework' of https://github.com/baseplate-admin/Core…
baseplate-admin Sep 27, 2022
1952a45
Fix ?
baseplate-admin Sep 27, 2022
2cf7dd9
Merge branch 'more-rework' of https://github.com/baseplate-admin/Core…
baseplate-admin Sep 27, 2022
f74560c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 27, 2022
7b69661
Yes async stuff woo
baseplate-admin Sep 27, 2022
b2ddc2a
Maybe add a view
baseplate-admin Sep 27, 2022
3dd72a1
Merge branch 'more-rework' of https://github.com/baseplate-admin/Core…
baseplate-admin Sep 27, 2022
74ebae0
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 27, 2022
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
3 changes: 2 additions & 1 deletion backend/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@
"pylint_django",
"--django-settings-module",
"core.settings"
]
],
"restructuredtext.preview.name": "docutils"
}
11 changes: 11 additions & 0 deletions backend/ARCHITECTURE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.. list-table:: Structure
:header-rows: 1

* - Codebase
- Description
* - `Tsukaeru`_
- AioHTTP ( Proxy | Media )



.. _Tsukaeru: https://github.com/baseplate-admin/CoreProject/tree/master/backend/tsukaeru
46 changes: 29 additions & 17 deletions backend/Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,38 +4,46 @@ verify_ssl = true
name = "pypi"

[packages]
django = {version = "~=4.1", extras = ["argon2"]}
django = {version = ">=4.1", extras = ["argon2"]}
# Postgres
psycopg2 = "*"
# 3rd Party ( Middlewares )
django_cleanup = "*"
django_cors_headers = "*"
# 3rd party ( Management )
django_click = "*"
# 3rd Party ( ENV )
python_dotenv = "*"
# 3rd Party ( WhiteNoise )
whitenoise = {extras = ["brotli"], version = "*"}
# 3rd Party ( Tasks )
huey = "*"
redis = "*"
redis = ">=4"
hiredis = {version="*", markers="sys_platform != 'win32'"}
# Rest framework
django_ninja = "*"
# Remove when
# https://github.com/vitalik/django-ninja/issues/305
django-ninja-jwt = "*"
# ===================================================
# HTTP Client
requests = "*"
requests_cache = "*"
requests_ratelimiter = "*"
aiohttp = {version=">=3.8,<4", extras=['speedups']}
aiohttp_jinja2 = '*'
sqlalchemy = {extras = ["postgresql_asyncpg"], version = "*"}
# HTTP Client Enhancements
aiohttp_retry = "*"
aiohttp_client_cache = {extras = ["redis"], version = "*"}
pyrate-limiter = {extras = ["redis"], version = "*"}
# Web servers
gunicorn = {extras = ["setproctile"], version = "*"}
uvicorn = {extras = ["standard"], version = "*"}
# Image processing
pillow = "*"
# Discord API
"discord.py" = {extras = ["voice","speed"], version = "*"}
"discord.py" = {extras = ["voice", "speed"], version = "*"}

[dev_packages]
[dev-packages]
# Aiohttp
aiohttp-devtools = "*"
# Django
django_debug_toolbar = "*"
django_dbbackup = "*"
django_cprofile_middleware = "*"
Expand All @@ -44,29 +52,33 @@ django_cprofile_middleware = "*"
black = "*"
# Flake8
flake8 = "*"
# AutoFlake
autoflake = "*"
# Pylint
pylint = "*"
pylint_django = "*"
# Mypy
mypy = "*"
types_requests = "*"
types_redis = "*"
django_stubs = {extras = ["compatible_mypy"], version = "*"}

[requires]
python_version = "3.10"

[scripts]
## Server
dev = "python manage.py runserver"
prod = "gunicorn core.asgi:application -w 4 -k uvicorn.workers.UvicornWorker" # For linux only
## Dev Servers
dev_django = "python ./django_core/manage.py runserver 0.0.0.0:8003"
dev_aiohttp = 'adev runserver ./tsukaeru/server.py --app-factory=aiohttp_app'
## Prod servers
prod_uvicorn = "gunicorn django_core/core.asgi:application -w 4 -k uvicorn.workers.UvicornWorker" # For linux only
prod_aiohttp = "gunicorn tsukaeru.server:aiohttp_app -w 4 --bind localhost:8001 --worker-class aiohttp.GunicornUVLoopWebWorker" # We want to run this without any proxy or anything
## Migrations
sync = "python manage.py migrate"
mksync = "python manage.py makemigrations"
sync = "python ./django_core/manage.py migrate"
mksync = "python ./django_core/manage.py makemigrations"
## Task queue
huey = "python manage.py run_huey"
huey = "python ./django_core/manage.py run_huey"
## Staticfiles
collectstatic = "python manage.py collectstatic --clear --link" # Dont duplicate copy files.
collectstatic = "python ./django_core/manage.py collectstatic --clear --link" # Dont duplicate copy files.

[pipenv]
allow_prereleases = true
1,434 changes: 1,149 additions & 285 deletions backend/Pipfile.lock

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions backend/TODO
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Take login inspiration from => https://www.pixiv.net/en/
44 changes: 0 additions & 44 deletions backend/apps/anime/admin/episode_comment.py

This file was deleted.

44 changes: 0 additions & 44 deletions backend/apps/anime/admin/episode_timestamp.py

This file was deleted.

7 changes: 0 additions & 7 deletions backend/apps/characters/admin.py

This file was deleted.

Loading