Skip to content
This repository has been archived by the owner on Feb 1, 2019. It is now read-only.
/ cosroom Public archive

[For COS employees only] Find an open room in the COS office

License

Notifications You must be signed in to change notification settings

sloria/cosroom

Repository files navigation

cosroom

Build Status Greenkeeper badge Code style: black Code style: prettier

Find an open room at COS using the Google Calendar API.

Screenshot

Development

  1. Clone this repo.
git clone https://github.com/sloria/cosroom.git
cd cosroom
  1. Create and activate a Python 3 virtualenv.
  2. Install requirements.
npm install npm@5
# NOTE: the following will install both node and python dependencies
npm install
  1. Create a .env file in this repo's directory and define the following environment variables:
CLIENT_ID=<Google API Client ID>
CLIENT_SECRET=<Google API Client Secret>
SECRET_KEY=<Random secret key>
REDIRECT_URI=http://localhost:5000/callback

Run the app

Then run the following command:

npm run dev

Browse to http://localhost:5000 to view the app.

If you need to use a Python debugger (e.g. ipdb), then run the web server and the webpack server separately

FLASK_APP=web/app.py FLASK_DEBUG=1 flask run
npm run webpack-dev-server

About

[For COS employees only] Find an open room in the COS office

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •