We recommend having Node v6 installed on your computer.
git clone git@github.com:hackupc/hackupc.git &&
cd hackupc &&
npm install
Use npm run watch
to compile the dist directory in real time.
Use npm start
to serve /dist
at http://localhost:8080
.
- Ask ssh access to server
- Add remote to your local git:
git remote add live ssh://deploy@hackupc.com/home/deploy/repo/w2017.git
- Push new changes to server (only master branch) with:
git push live master
Inspired by this article
To be revisited
For testing purposes
live.js
has atesting
variable that mocks events in the near future so that there's no need to keep changingevents.json
. It also reduces the polling rate to 1 second.
New features:
- Desktop notifications
- Live reload
- Options panel to filter by type of notifications
- 4 types of notifications (provisional): essential, food, events, talks
- essential notifications are always sent
- food, events and talks can be filtered out depending on your preferences.
- Options panel also includes a checkbox to switch off background animation.
- Progress bars!
MIT © Hackers@UPC