Skip to content

Cleanup#56

Open
lukavdplas wants to merge 7 commits intodevelopfrom
feature/cleanup
Open

Cleanup#56
lukavdplas wants to merge 7 commits intodevelopfrom
feature/cleanup

Conversation

@lukavdplas
Copy link
Copy Markdown
Contributor

Removes the backend and some other content that is not required since this app is frontend-only. Also makes this compatible with modern Node versions (by adding --openssl-legacy-provider).

I added a collectstatic.py file to replace yarn django collectstatic. As far as I know, if you're not using static files from Django, all that's left is to move the files to /static/, but perhaps this script just isn't useful anymore?

@lukavdplas lukavdplas requested a review from oktaal April 30, 2026 14:14
Comment thread collectstatic.py
static_dir = _here / 'static'


def clean_static():
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be two lines in a shell script:

rm -rf ./static/*
cp -r ./frontend/dist/* ./static/

Or yeah just remove it altogether and only have this in the runtime.py because it's really very specific to our specific server setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants