Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

sevenval/odl-thek

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ODLTHEK

A management software for your own open device library (http://opendevicelab.com/).

Setup

Prerequisites

Download and install http://nodejs.org and http://www.mongodb.org. Run MongoDB as a daemon or make sure MongoDB is running before continuing.

Installation

$ git clone https://github.com/sevenval/odl-thek
$ cd odl-thek
$ npm install

Create .env file (see below) or set environment variables manually

NODE_ENV=DEVELOPMENT
MONGODB_URL=mongodb://localhost/odlthek
SESSION_COOKIE_SECRET=<keyboard cat>
DATE_TIME_FORMAT="YYYY-MM-DD HH:mm"

; OAUTH Github
GITHUB_CLIENT_ID=<ID>
GITHUB_CLIENT_SECRET=<SECRET>
GITHUB_CALLBACK=<HOSTNAME>/users/auth/github/callback

; OAUTH Google
GOOGLE_CLIENT_ID=<ID>
GOOGLE_CLIENT_SECRET=<SECRET>
GOOGLE_CALLBACK=<HOSTNAME>/users/auth/google/callback
GOOGLE_HOSTED_DOMAIN=example.com

; AWS S3 for media storage
AWS_ACCESS_KEY_ID=<ID>
AWS_SECRET_ACCESS_KEY=<SECRET>
AWS_MEDIA_BUCKET=<MEDIA-BUCKET>

; Mails settings
MAIL_TRANSPORT=SMTP
MAIL_SERVICE=Gmail
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_RECIPIENT=<email for system mails>
MAIL_FROM='Sevenval Odlthek <[email protected]>'

Start

$ node app.js

Open http://127.0.0.1:3000

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •