UNPKG

school-schedule-sync

Version:

Synchronization between JSON schedule and Google Calendar

36 lines (23 loc) 950 B
# school-schedule-sync Synchronization between JSON schedule and Google Calendar ---- ## Installation ```bash git clone https://github.com/anmiles/school-schedule-sync.git cd school-schedule-sync npm clean-install npm run build copy config/schedule.sample.json config/schedule.json ``` ## Adding profiles This application may work with multiple profiles (create calendar entries in different google accounts). 1. Come up with any profile name you want 1. Execute `npm run create <profile>` You can create as many profiles as you want. ## Authentication - `npm run login` to login into all existing profiles - `npm run login <profile>` to login into selected profile ## Usage - Make your own schedule in `./config/schedule.json` file - `npm start <profile>` to create/recreate calendar entries for selected profile - `npm start <profile> <calendar_name>` to create/recreate calendar entries for selected profile for the specified calendar