Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wiki-js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
wiki-js
Commits
61fe3d3d
You need to sign in or sign up before continuing.
Commit
61fe3d3d
authored
Aug 06, 2017
by
NGPixel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: npm install execute OS specific install script
parent
23e0d473
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
167 deletions
+2
-167
config.passive.yml
npm/configs/config.passive.yml
+0
-154
install.js
npm/install.js
+0
-0
package-lock.json
npm/package-lock.json
+0
-0
package.json
npm/package.json
+2
-13
No files found.
npm/configs/config.passive.yml
deleted
100644 → 0
View file @
23e0d473
#######################################################################
# Wiki.js - CONFIGURATION #
#######################################################################
# Full explanation + examples in the documentation:
# https://docs.requarks.io/wiki/install
# ---------------------------------------------------------------------
# Title of this site
# ---------------------------------------------------------------------
title
:
$(WIKI_TITLE)
# ---------------------------------------------------------------------
# Full public path to the site, without the trailing slash
# ---------------------------------------------------------------------
host
:
$(WIKI_HOST)
# ---------------------------------------------------------------------
# Port the main server should listen to (80 by default)
# ---------------------------------------------------------------------
port
:
$(PORT)
# ---------------------------------------------------------------------
# Data Directories
# ---------------------------------------------------------------------
paths
:
repo
:
./repo
data
:
./data
# ---------------------------------------------------------------------
# Upload Limits
# ---------------------------------------------------------------------
# In megabytes (MB)
uploads
:
maxImageFileSize
:
3
maxOtherFileSize
:
100
# ---------------------------------------------------------------------
# Site Language
# ---------------------------------------------------------------------
# Possible values: en, es, fr, ko, ru or zh
lang
:
$(WIKI_LANG)
# ---------------------------------------------------------------------
# Site Authentication
# ---------------------------------------------------------------------
public
:
$(WIKI_PUBLIC)
auth
:
defaultReadAccess
:
false
local
:
enabled
:
true
google
:
enabled
:
false
clientId
:
GOOGLE_CLIENT_ID
clientSecret
:
GOOGLE_CLIENT_SECRET
microsoft
:
enabled
:
false
clientId
:
MS_APP_ID
clientSecret
:
MS_APP_SECRET
facebook
:
enabled
:
false
clientId
:
FACEBOOK_APP_ID
clientSecret
:
FACEBOOK_APP_SECRET
github
:
enabled
:
false
clientId
:
GITHUB_CLIENT_ID
clientSecret
:
GITHUB_CLIENT_SECRET
slack
:
enabled
:
false
clientId
:
SLACK_CLIENT_ID
clientSecret
:
SLACK_CLIENT_SECRET
ldap
:
enabled
:
false
url
:
ldap://serverhost:389
bindDn
:
cn='root'
bindCredentials
:
BIND_PASSWORD
searchBase
:
o=users,o=example.com
searchFilter
:
(uid={{username}})
tlsEnabled
:
false
tlsCertPath
:
C:\example\root_ca_cert.crt
azure
:
enabled
:
false
clientID
:
APP_ID
clientSecret
:
APP_SECRET_KEY
resource
:
'
00000002-0000-0000-c000-000000000000'
tenant
:
'
YOUR_TENANT.onmicrosoft.com'
# ---------------------------------------------------------------------
# Secret key to use when encrypting sessions
# ---------------------------------------------------------------------
# Use a long and unique random string (256-bit keys are perfect!)
sessionSecret
:
$(WIKI_SESSION_KEY)
# ---------------------------------------------------------------------
# Database Connection String
# ---------------------------------------------------------------------
db
:
$(MONGODB_URI)
# ---------------------------------------------------------------------
# Git Connection Info
# ---------------------------------------------------------------------
git
:
url
:
$(WIKI_GIT_URL)
branch
:
$(WIKI_GIT_BRANCH)
auth
:
# Type: basic or ssh
type
:
basic
# Only for Basic authentication:
username
:
$(WIKI_GIT_USERNAME)
password
:
$(WIKI_GIT_PASSWORD)
# Only for SSH authentication:
privateKey
:
/etc/wiki/keys/git.pem
sslVerify
:
true
# Default email to use as commit author
serverEmail
:
$(WIKI_SERVER_EMAIL)
# Whether to use user email as author in commits
showUserEmail
:
$(WIKI_SHOW_USER_EMAIL)
# ---------------------------------------------------------------------
# Features
# ---------------------------------------------------------------------
# You can enable / disable specific features below
features
:
linebreaks
:
true
mathjax
:
true
# ---------------------------------------------------------------------
# External Logging
# ---------------------------------------------------------------------
externalLogging
:
bugsnag
:
false
loggly
:
false
papertrail
:
false
rollbar
:
false
sentry
:
false
npm/install.js
View file @
61fe3d3d
This diff is collapsed.
Click to expand it.
npm/package-lock.json
deleted
100644 → 0
View file @
23e0d473
Binary files a/npm/package-lock.json and /dev/null differ
npm/package.json
View file @
61fe3d3d
{
"name"
:
"wiki.js"
,
"version"
:
"1.0.5"
,
"version"
:
"1.0.5
-rev.1
"
,
"description"
:
"A modern, lightweight and powerful wiki app built on NodeJS, Git and Markdown"
,
"main"
:
"install.js"
,
"scripts"
:
{
...
...
@@ -28,16 +28,5 @@
"url"
:
"https://github.com/Requarks/wiki/issues"
},
"homepage"
:
"https://github.com/Requarks/wiki#readme"
,
"dependencies"
:
{
"bluebird"
:
"~3.5.0"
,
"colors"
:
"~1.1.2"
,
"execa"
:
"~0.7.0"
,
"follow-redirects"
:
"~1.2.4"
,
"fs-extra"
:
"~3.0.1"
,
"inquirer"
:
"~3.1.1"
,
"lodash"
:
"~4.17.4"
,
"ora"
:
"~1.3.0"
,
"pm2"
:
"~2.5.0"
,
"tar"
:
"~3.1.5"
}
"dependencies"
:
{}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment