hackforla / 311-data

Empowering Neighborhood Associations to improve the analysis of their initiatives using 311 data
https://hackforla.github.io/311-data/
GNU General Public License v3.0
62 stars 63 forks source link

Migrate devs to Vite - checklist #1834

Open ryanfchase opened 1 month ago

ryanfchase commented 1 month ago

Overview

We need to track each dev that is currently active and ensure that they have migrated to Vite in order to avoid merge conflicts or other issues.

Action Items

Create comments for each dev, use template to track their progress

Resources

Instructions for Vite Environment Variables

All environment variables must have a prefix of VITE. Two tokens are most relevant for your dev environment:

Action Item Templates For Devs

Mandatory for each dev, everyone's tracking comment includes these steps.

## Name
- github id: 

### Scheduled Migration:
- 2024-10-30 7pm PT ( @ dev breakout room )

### Action Items
- [ ] `git checkout main`
- [ ] `git pull`
- [ ] `rm -rf node_modules`
- [ ] `npm install`
- [ ] `npm run setup`
- [ ] `npm start`
- [ ] Go to `http://localhost:5173/`

Optional Steps for Dev

Only follow these steps if you need to be able to publish your fork via gh pages.

### Action Items: GH Pages from Fork

- [ ] Fork the project once the `1778-migrate-from-webpack-to-vite` branch has been merged into `main`
- [ ] Modify `vite.config.js`:
  - [ ] add an attribute called `base`, where value is the name of your fork
  - e.g. `{ ..., base: 'my-311-data', ... }`, where the name of your fork is `my-311-data`
- [ ] For each of the variables in your `.env`...
  - [ ] go to the Action Secrets page in your forked repo's settings
    - e.g. Settings > Secrets & Variables > Actions
  - [ ] create a Repository Secret, matching the key and value of the `.env` variables
ryanfchase commented 3 days ago

Tracy

Scheduled Migration:

Action Items

ryanfchase commented 3 days ago

Ryan

Scheduled Migration:

Action Items

ryanfchase commented 3 days ago

Shannan

Scheduled Migration:

Action Items

ryanfchase commented 3 days ago

Billy

Scheduled Migration:

Action Items

ryanfchase commented 3 days ago

Danielle

Scheduled Migration:

Action Items

ryanfchase commented 3 days ago

Kelly

Scheduled Migration:

Action Items

ryanfchase commented 3 days ago

Brandon

Scheduled Migration:

Action Items

ryanfchase commented 3 days ago

Dorian

Scheduled Migration:

Action Items

ryanfchase commented 3 days ago

Mrudula

Scheduled Migration:

Action Items

ryanfchase commented 3 days ago

Sophia

Scheduled Migration:

Action Items

aqandrew commented 2 days ago

Hi @ryanfchase, what's the purpose of the Action Items: GH Pages from Fork checklist? I'm not clear on why each dev needs to deploy their own fork to GitHub Pages.

That second checklist seems like a lot of extra work, given that we can all continue to develop as normal (without forking) once #1822 has been merged into main.

ryanfchase commented 2 days ago

Hi @ryanfchase, what's the purpose of the Action Items: GH Pages from Fork checklist? I'm not clear on why each dev needs to deploy their own fork to GitHub Pages.

That second checklist seems like a lot of extra work, given that we can all continue to develop as normal (without forking) once #1822 has been merged into main.

Hey @aqandrew -- it's not required. I figured I'd list the steps in case anyone else wanted to try it out. I've left it there so I can document it in a wiki page later. I'll update the ticket to note that it's optional. 😄