Skip to content

Conversation

@alan412
Copy link
Collaborator

@alan412 alan412 commented Nov 22, 2025

This makes a backend that will serve the frontend and also do deployment.

To use it:

  1. npm run build (creates a dist directory)
  2. source backend/venv/bin/activate
  3. python backend/main.py -p xxxx (port you want)

If you press deploy and you are running it from the npm run dev, then it will work like it has been where deploy downloads a zip file. If you press deploy and you are running it from the python backend script then it will unzip the zip file in a deploy directory under the directory the backend runs from.

@alan412 alan412 requested a review from lizlooney November 22, 2025 13:39
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.

1 participant