Skip to content

cafelinear/google-calendar-hours

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

(or aronwoost.github.io/google-calendar-hours)

After connecting you could see something like this:

screenshot 2019-01-05 20-10-20

Run locally

git clone [email protected]:aronwoost/google-calendar-hours.git
cd google-calendar-hours
python -m SimpleHTTPServer 8000

This will clone the repo and start a webserver. Now you can open http://localhost:8000/ in the browser.

Testing and building

Open index_dev.html to run the non-optimized version. Every file will be loaded one by one. The redirection back from google will not work with index_dev.html, instead use / to auth agains google (OAuth token will be saved in sessionStorage) and then head back to index_dev.html for testing.

Docker

To start a local NGINX hosting the static files, run:

$ docker run \
  --name gch \
  -v /<path-to-project>:/usr/share/nginx/html:ro \
  -d \
  -p 80:80 \
  nginx

Build

r.js is used to build the app:

# Install (only needs to be run once)
npm install

# Build with r.js
npm run build

Stuff used

Contributors

Philipp Kyeck

License

MIT

About

Calculates hours for selected calendar for selected range.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 63.2%
  • HTML 22.5%
  • CSS 14.3%