Skip to content

rocketacademy/scheduler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scheduler

Edit and generate dated schedules for all Rocket Academy Courses.

How to edit/generate schedules

We currently manage schedules by editing relevant schedule template JSON files in src/data/schedule-templates and re-generating the relevant batches' schedules using the Generate Schedule Data File interface in the Batch tab of localhost:3000/#/admin when running the app locally. Rocket recommends only updating the templates and not batch-specific schedules directly if possible, because the latter makes it difficult for Rocket to make cross-batch changes by updating templates and re-generating each batch's schedule (local batch changes would be overwritten).

To edit/generate a batch schedule, e.g. FTBC6:

  1. Clone scheduler repo locally
  2. Edit the FTBC3.x or PTBC3.x template JSON file (in src/data/schedule-templates) to how we want it to be. If you are making changes that should apply to new batches but not older ones, duplicate the latest template and increment the version number.
  3. If you are generating a new PT course ensure the the course starts on the correct day. courseStartDaysOfWeekIndex at the top of the schedule template file (e.g. ptbc3.0-schedule-template.json) must refer to the correct start day. 0 is Tuesday, 1 is Saturday.
  4. Check holidays.json to ensure holidays (public and company) that would occur during your course are included, such that the scheduler does not schedule course days on these dates.
  5. npm start to run scheduler locally
  6. Navigate to localhost:3000/#/admin, enter Start Date (e.g. 10 Jan ’22), Batch Number (e.g. 6) and Course Type (e.g. FTBC), and click Download Schedule.
  7. Copy the downloaded schedule into the src/data folder
  8. Verify src/App.js is referencing the correct file that we just copied to src/data when rendering the relevant batch’s schedule
  9. Verify the schedule changes are as expected at localhost:3000
  10. Commit and push changes to GitHub, GitHub will automatically deploy changes to schedules.rocketacademy.co.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published