Reflect calendar is web calendar, aimed to be fast, minimalistic and functional.
Demo https://www.reflectcal.com/.
- Clone this repository locally.
mkdir reflectcal
cd reflectcal
git clone https://github.com/alexeykomov/reflectcal.git
-
Runtimes - Install Java, Python and Node.js. Node.js must be at least of version v0.12.2.
-
Install MongoDB. Create storage folder for it, may as well start an instance.
mkdir mongostorage
mongod --dbpath mongostorage
npm install express -g
npm install less -g
npm install grunt-cli -g
npm install bunyan -g
- Locally to project, install all needed node modules.
cd reflectcal
npm install
- Go to Google developers console and:
a. Create project for this particular app instance. Name it like something that reflects both app and particular machine from where app is launched, like "Reflect calendar on Alex's iMac".
b. Under API and auth/Credentials menu, create new Client ID with Web application bullet point.
c. In field "Authorized JavaScript origins" put http://localhost:3000/.
d. In field "Authorized redirect URIs" put http://localhost:3000/auth/google/callback. Note that you may insert your own part instead of http://localhost:3000.
e. Dowload JSON file and put it in your application root, near app.js.
- Compile from sources.
grunt compile-all
- Launch an application.
node --harmony app
- Go to http://localhost:3000/