Skip to content

omarmiatello/sessionize-tools-for-gdg-hoverboard

Repository files navigation

Load data from Sessionize to Hoverboard v2

https://sessionize.com --> https://github.com/gdg-x/hoverboard

Project Status

Experiment

Examples: How to use

// Example Config

const val HOVERBOARD_DAY1 = "2018-10-06"
const val isFirestoreBackupEnabled = false  // generate new files for backup
const val isForceUpdateSessionize = false   // update sessionize.json every launch?
const val canUpdateSpeakerData = false      // can update speaker data (es: new bio)
const val sessionizeUrl = "https://sessionize.com/api/v2/y2kbnktu/view/all"
// Example Run!

fun main() {
    // NOTE: You can comment/remove
    // SessionizeTools.sessionizeToHoverboard() // REMOVED IN THIS EXAMPLE!
    // SessionizeTools.buildSocialMessage()     // REMOVED IN THIS EXAMPLE!
    SessionizeTools.buildAgenda()               // Build agenda from backup folder!
}
  • Verify that everything is fine and then run firestore_upload.sh (NOTE: uncomment line #yarn firestore:copy backup/schedule.json schedule if needed)

Used by: