Skip to content

Commit

Permalink
Fix sharedocsEnv template
Browse files Browse the repository at this point in the history
- Changed LOGIN_PROVIDER to app
- Changed UPLOAD_DESTINATION to s3
  • Loading branch information
KOMATSU Seiji committed Feb 23, 2017
1 parent 0a12170 commit e267246
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 7 deletions.
15 changes: 10 additions & 5 deletions sharedocsEnv-template
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/bin/bash
### -------------------------------------------------------------------------------------
### Sharedocs configuration variables
###
### For more details, see: https://github.com/atware/sharedocs/blob/master/README.md
### -------------------------------------------------------------------------------------

export SITE_NAME=Sharedocs:local
export SITE_TITLE=Sharedocs
Expand All @@ -10,10 +14,12 @@ export DATABASE_PASSWORD="********"

export GOOGLE_ANALYTICS_KEY="********"

export LOGIN_PROVIDOR=google
export LOGIN_PROVIDOR=app
export LOGIN_PERMITTED_EMAIL_DOMAINS=example.com

export SKINNY_OAUTH2_CLIENT_ID_GOOGLE="*************************"
export SKINNY_OAUTH2_CLIENT_SECRET_GOOGLE="***********************"

export LDAP_TYPE="plain"
export LDAP_HOST="***"
export LDAP_PORT=389
Expand All @@ -24,8 +30,7 @@ export LDAP_USER_NAME_ATTRIBUTE=uid
export LDAP_MAIL_ADDRESS_ATTRIBUTE=mail
export LDAP_KEY_STORE=

export UPLOAD_DESTINATION=s3

export UPLOAD_DESTINATION=local
export LOCAL_UPLOAD_BASE_DIR="/tmp"
export LOCAL_UPLOAD_BASE_URL="/static/uploads"

Expand All @@ -39,4 +44,4 @@ export EXTERNAL_INTEGRATION_SERVICE=logger

export OGP_ALLOW_UA_PREFIXES="UA prefix to allow to access"

#export MARKDOWN_HELP_PAGE_ID=1
export MARKDOWN_HELP_PAGE_ID=1
12 changes: 10 additions & 2 deletions sharedocsEnv-template.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
@ECHO OFF

rem -------------------------------------------------------------------------------------
rem Sharedocs configuration variables
rem
rem For more details, see: https://github.com/atware/sharedocs/blob/master/README.md
rem -------------------------------------------------------------------------------------

SET SITE_NAME=Sharedocs:local
SET SITE_TITLE=Sharedocs

Expand All @@ -10,10 +16,12 @@ SET DATABASE_PASSWORD=********

SET GOOGLE_ANALYTICS_KEY=********

SET LOGIN_PROVIDOR=google
SET LOGIN_PROVIDOR=app
SET LOGIN_PERMITTED_EMAIL_DOMAINS=example.com

SET SKINNY_OAUTH2_CLIENT_ID_GOOGLE=*************************
SET SKINNY_OAUTH2_CLIENT_SECRET_GOOGLE=***********************

SET LDAP_TYPE=plain
SET LDAP_HOST=***
SET LDAP_PORT=389
Expand All @@ -39,4 +47,4 @@ SET EXTERNAL_INTEGRATION_SERVICE=logger

SET OGP_ALLOW_UA_PREFIXES="UA prefix to allow to access"

rem SET MARKDOWN_HELP_PAGE_ID=1
SET MARKDOWN_HELP_PAGE_ID=1

0 comments on commit e267246

Please sign in to comment.