Skip to content

Commit 980f869

Browse files
author
Andres Vargas
committed
update settings
1 parent 2d4139d commit 980f869

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

app/settings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@
128128
# https://docs.djangoproject.com/en/3.0/howto/static-files/
129129

130130
STATIC_URL = '/static/'
131+
STATIC_ROOT = os.path.join(BASE_DIR, "static")
131132

132133

133134
JS_ROUTES_INCLUSION_LIST = [

fabfile.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ def deploy(ctx):
77
with ctx.cd("apps/django-inertia-demo"):
88
ctx.run("git pull")
99
ctx.run("pip install -r requirements.txt")
10-
#ctx.run("npm i")
11-
ctx.run("npm run build")
1210
ctx.run("python manage.py collectstatic --noinput")
1311
ctx.sudo("supercvisorctl restart inertia")
1412

0 commit comments

Comments
 (0)