thunderbird-website icon indicating copy to clipboard operation
thunderbird-website copied to clipboard

Update readme's build instructions

Open MelissaAutumn opened this issue 1 year ago • 6 comments

We should include instructions on pulling uv and doing initial setup.

MelissaAutumn avatar Jun 23 '25 15:06 MelissaAutumn

For image workflows (adding a new staff member), we might need to update Pillow to support Python 3.13+.

I've opened an issue to track that for the future: https://github.com/thunderbird/thunderbird-website/issues/865

davinotdavid avatar Jun 23 '25 16:06 davinotdavid

Thanks!

MelissaAutumn avatar Jun 23 '25 16:06 MelissaAutumn

We should include instructions on making a virtual environment with at least python 3.12.

I want to transition this whole repository to using uv/ruff so you don't need to worry about manual venvs. I may just do that at some point soon.

Sancus avatar Jun 23 '25 18:06 Sancus

Sounds good, I'll edit the ticket for that.

MelissaAutumn avatar Jun 23 '25 19:06 MelissaAutumn

Once you get to rewriting the readme instructions, I have a few hints from watching folks trying to get set up:

  • "Dependencies: On Ubuntu, you would need to use apt-get instead of yum, …" and then does pip install … and yum install npm — which makes the assumption Python is installed, pip available, and singles out Ubuntu and then installs npm manually — I'd say this could be more generalized to say the project needs Python+pip and NodeJS+npm installed (mention e.g. brew or "n" for tools, but generally assume folks can get their systems ready for that themselves?) on any platform, and only show the commands needed to install the actual deps, leaving out system-level packaging that can vary vastly.
  • Make a note what Python version is supported (ballpark; IIUC anything from 2.7 in prod to latest 3.13 in dev mostly works give or take a rough edge here and there?) and which Node version should be installed (generally, ~any? nonEOL or LTS works best?)
  • That besides L10n there are also other dependencies to install when working with images.

janbrasna avatar Sep 01 '25 22:09 janbrasna

Yeah there's a few things to improve here, thanks for the hints! Once we move to uv it will take a lot of the python/pip requirements away, although add uv as a requirement 😅

MelissaAutumn avatar Sep 02 '25 15:09 MelissaAutumn