Skip to content

chore: revamped start script to install, config, and have nicer repor…#6

Open
yankeeinlondon wants to merge 2 commits intodisler:mainfrom
yankeeinlondon:main
Open

chore: revamped start script to install, config, and have nicer repor…#6
yankeeinlondon wants to merge 2 commits intodisler:mainfrom
yankeeinlondon:main

Conversation

@yankeeinlondon
Copy link

I am a rookie at Python and so I struggle to keep all the darn ENV and PKG managers clear in my head. Saw your video and liked the idea of it but had never heard of uv before but having researched it, it looks good. Plus Rust just makes me feel all warm inside.

Anyway, I created an update start script which:

  • installs all packages on frontend (preferring Bun if installed)
  • detects the presence of uv and installs it if not present; for the Windows nut jobs I've simply left them a message to install it
  • once installed it ensures uv sync is run and server dependencies are met
  • on startup it provides some basic overview info and provides different colors for frontend versus backend logs:
image

I just very much like to be brain dead when I fire up a new repo and I think this helps. That said, i'm perfectly happy to have it all to myself but if you thought it had merit I figured I'd share.

@dreamingbinary
Copy link

I like the changes (for myself), @yankeeinlondon , but why did you rename the file, start.sh -> start?

@yankeeinlondon
Copy link
Author

I can't remember now but I do find start more "tidy" than start.sh (even if the extension and it's context are lost).

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

Comments