Skip to content
forked from ndldd/jscalc

A Node/Angular app that lets users create custom online calculators

License

Notifications You must be signed in to change notification settings

glennneiger/jscalc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSCalc

Installing

Run

npm install

which will also install Bower dependencies with postinstall hook.

Building

Currently no build is involved, connect-assets is used instead.

Running locally

Run

MONGOLAB_URI=<Your Mongo DB URI> node server/app.js

Environment Variables

Of the environment variables listed below, the only one required for most of the functionality is MONGOLAB_URI (this can be the URI of either a local Mongo DB, or one hosted remotely on a service like Mongolab/MongoDB). PHANTOMJSCLOUD_KEY and PRERENDER_HOST are needed for serving static versions of pages to crawlers visiting _escaped_fragment_ URIs (currently disabled, so these two variables aren't used). SENDGRID_USER and SENDGRID_PASSWORD are needed to send password reset emails. SESSION_SECRET will default to test.

MONGOLAB_URI=<Mongo DB URI>
PHANTOMJSCLOUD_KEY=<currently not used, phantomjscloud.com key>
PRERENDER_HOST=<currently not used, host that does not redirect http to
    https, to be used by phantomjscloud.com>
NODE_ENV=<"development" or "production">
SESSION_SECRET=<session secret>
SENDGRID_USER=<sendgrid.com user>
SENDGRID_PASSWORD=<sendgrid.com password>

License

MIT

About

A Node/Angular app that lets users create custom online calculators

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 54.9%
  • HTML 36.2%
  • CSS 8.9%