Skip to content

Commit 71ec18b

Browse files
committed
Create a build script
1 parent b548958 commit 71ec18b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

build.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/usr/bin/env bash
2+
# Exit on error
3+
set -o errexit
4+
5+
# Modify this line as needed for your package manager (pip, poetry, etc.)
6+
poetry install
7+
8+
# Convert static asset files
9+
python manage.py collectstatic --no-input
10+
11+
# Apply any outstanding database migrations
12+
python manage.py migrate

0 commit comments

Comments
 (0)