asassoye / esi-horaires

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lines of code Website

Display timetable

Use FullCalendar to display students and teachers timetables1.

Screenshot

Demo

Timetables are visible at https://horaires.esi-bru.be

Compile and serve

To install all the dependencies:

$ yarn

To compile (the compiled files are in the ./dist directory)

$ yarn build # Production
$ yarn dev # Development
$ yarn watch # Dev + watch for changes

To serve locally

$ yarn serve

Contribute

Pull requests and issues are welcome.

To test locally (using webpack devServer) :

  • Clone the repo if you haven't done so already

  • Grab a copy of the current schedule by downloading the ical/ directory from github. A zip file is available via downgit ; simply unzip it here in the repository.

  • Create or modify src/config/calendar.json to point to the new calendars (cf. the README in the config folder)

  • Compile the source code

  • yarn serve launches a local webserver, using the local schedule.

  • Before commit, please verify if you respect the linting by executing the command yarn lint.

Contributors

  • Pierre Bettens pbt
  • Nicolas Richard nri
  • Frédéric Servais srv
  • Andrew Sassoye

v1 « À l'arrache » par Pierre, Nicolas (Némo) et Frédéric (Sébastien)
v2 « Marie revisitée » par Andrews

Footnotes

  1. We used to use Leonaard project (dead link) together with ical.js to convert iCalendar (ics) to JSON. Nowadays FullCalendar fully supports ics as a Event Source (still using ical.js).

About

License:MIT License


Languages

Language:TypeScript 72.8%Language:JavaScript 11.5%Language:HTML 9.2%Language:CSS 6.5%