Skip to content
This repository has been archived by the owner on Feb 21, 2023. It is now read-only.

gabeio/lissome

Repository files navigation

Lissome

Build Status Circle CI Coverage Status

Dependency Status devDependency Status optionalDependency Status

docker

  • requires linked redis for sessions
  • requires linked mongo for everything else

process.env

  • cookie = the session cookie signature assure this is safe or people can edit their sessions
  • school = the school's full name or short name ie: OCC Ocean County College is a little big
  • mongo|MONGO = the uri to mongodb (mongodb://[[username]:[password]]@host[:port]/dbName)
  • redis|REDIS = the uri to redis (redis://[:password]@host:port/dbIndex)
  • small|smallpassword = the minimum password length all passwords must be
  • NODE_ENV=production = enables template caching
  • NODE_ENV=development = disables template caching

auth levels

  • 0|undefined = outside
  • 1 = student
  • 2 = faculty
  • 3 = admin
    • = superadmin/support