Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't use wiki after login via local authorization #248

Open
intmainreturn00 opened this issue Sep 15, 2018 · 4 comments
Open

can't use wiki after login via local authorization #248

intmainreturn00 opened this issue Sep 15, 2018 · 4 comments
Labels

Comments

@intmainreturn00
Copy link

image

image

@intmainreturn00
Copy link
Author

Use os x and absolute path for git repo

repository: '/Users/owl/imperial-lab/wjs_imperial_lab/repo'

@claudioc
Copy link
Owner

claudioc commented Oct 3, 2018

Hi,

I just installed a fresh copy of Jingo with a new local repo and local authentication. I have been able to create the home page, and another page below it.

This is my configuration (straight for jingo -s, changing the auth and the repo):

# Configuration sample file for Jingo (YAML)
application:
  title: Jingo
  logo: ""
  favicon: ""
  repository: "/Users/claudioc/Documents/jingo"
  docSubdir: ""
  remote: ""
  pushInterval: 30
  secret: change me
  git: git
  skipGitCheck: false
  loggingMode: 1
  pedanticMarkdown: true
  gfmBreaks: true
  staticWhitelist: '/\.png$/i, /\.jpg$/i, /\.gif$/i'
  proxyPath: ""
authentication:
  google:
    enabled: false
    clientId: replace me with the real value
    clientSecret: replace me with the real value
    redirectURL: ""
  github:
    enabled: false
    clientId: replace me with the real value
    clientSecret: replace me with the real value
    redirectURL: ""
  ldap:
    enabled: false
    url: "ldap://example.org:389"
    bindDn: ""
    bindCredentials: ""
    searchBase: "ou=people,dc=example,dc=org"
    searchFilter: "(uid={{username}})"
    searchAttributes: ""
  local:
    enabled: true
    accounts:
      - username: "claudioc"
        passwordHash: "a94a8fe5ccb19ba61c4c0873d391e987982fbbd3"
        email: "claudio.cicali@gmail.com"
features:
  markitup: false
  codemirror: true
  gravatar: true
server:
  hostname: localhost
  port: 6067
  localOnly: false
  baseUrl: ""
  CORS:
    enabled: false
    allowedOrigin: "*"
authorization:
  anonRead: true
  validMatches: .+
  emptyEmailMatches: false
pages:
  index: Home
  title:
    fromFilename: true
    fromContent: false
    asciiOnly: false
    lowercase: false
  itemsPerPage: 10
customizations:
  sidebar: _sidebar.md
  footer: _footer.md
  style: _style.css
  script: _script.js

@xhj967
Copy link

xhj967 commented Jan 24, 2019

how to generate hashstring?
i am absolutely tyro,
this question may foolish
but i don't understand how to use "--hash-string"

@xhj967
Copy link

xhj967 commented Jan 25, 2019

i got it.
jingo --hash-string "xxx"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants