https://github.com/cns-iu/iucas-protected-site-template
A simple node/express server for hosting sites that require IU CAS authentication
https://github.com/cns-iu/iucas-protected-site-template
Last synced: 3 months ago
JSON representation
A simple node/express server for hosting sites that require IU CAS authentication
- Host: GitHub
- URL: https://github.com/cns-iu/iucas-protected-site-template
- Owner: cns-iu
- License: mit
- Created: 2019-07-09T11:40:28.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-07-09T19:33:35.000Z (almost 6 years ago)
- Last Synced: 2025-01-24T06:28:34.757Z (5 months ago)
- Language: JavaScript
- Size: 10.7 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# IU-CAS Protected Site
An express-based application server which hosts a static site
viewable only by a specified set of IU users.## Pre-requisites
* NodeJS 8+
## Installation
Run `npm install` to install dependencies. Copy [example.env](example.env) to `.env`
and customize for your static site.## Running
Either run `npm start` or `./server.js`. The server normally checks for a `.env` file in the same directory as `server.js`. If you want to provide a different `.env` pass it on the command like like this: `./server.js my.env`.
## See also
*
*