Skip to content

reflectcal/reflectcal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reflectcal

Reflect calendar is web calendar, aimed to be fast, minimalistic and functional.

Demo https://www.reflectcal.com/.

Installation and run

  1. Clone this repository locally.
mkdir reflectcal
cd reflectcal
git clone https://github.com/alexeykomov/reflectcal.git
  1. Runtimes - Install Java, Python and Node.js. Node.js must be at least of version v0.12.2.

  2. Install MongoDB. Create storage folder for it, may as well start an instance.

mkdir mongostorage
mongod --dbpath mongostorage
  1. Globally install following node modules - Express, Grunt, Less, Bunyan.
npm install express -g
npm install less -g
npm install grunt-cli -g
npm install bunyan -g
  1. Locally to project, install all needed node modules.
cd reflectcal
npm install
  1. 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.

  1. Compile from sources.
grunt compile-all
  1. Launch an application.
node --harmony app
  1. Go to http://localhost:3000/