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
Copy link
Collaborator

@lizlooney lizlooney left a comment

Choose a reason for hiding this comment

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

Works great!
I just have a few comments about style that I think will help as this project grows.

@alan412 alan412 requested a review from lizlooney November 24, 2025 21:20
@alan412 alan412 requested a review from lizlooney November 25, 2025 17:36
@alan412 alan412 merged commit 086b082 into wpilibsuite:main Nov 26, 2025
1 check passed
@alan412 alan412 deleted the pr_backend_serve branch November 26, 2025 11:45
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