Commit 3c745cf1 authored by impfundev's avatar impfundev

fix: build files

parent 90efb76d
python3.9 -m venv env
python3.9 source env/bin/activate
pip install -r requirements.txt --root-user-action=ignore
python3.9 manage.py collectstatic --noinput
\ No newline at end of file
{
"version": 2,
"builds": [
{
"src": "config/wsgi.py",
"use": "@vercel/python",
"config": { "maxLambdaSize": "15mb", "runtime": "python3.9" }
},
{
"src": "build_files.sh",
"use": "@vercel/static-build",
"config": {
"distDir": "staticfiles"
}
}
],
"routes": [
{
"src": "/static/(.*)",
"dest": "/static/$1"
},
{
"src": "/(.*)",
"dest": "config/wsgi.py"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment