So, I'm not blogging very often.
It's because I'm..... very very busy?!?!?
jingo
https://github.com/claudioc/jingo
I find the setup instructions to be... confusing.
But I'm getting closer.
- In an existing git(hub) repo
npm i jingo
node node_modules\jingo\jingo -s > config.yaml
- edit
config.yaml
- set
repository
=> @@'./'
- set
node node_modules\jingo\jingo -c config.yaml
- which responds with something like
Thu Dec 17 2015 14:20:38 GMT-0500 (Eastern Standard Time) - Jingo server v1.5.3 listening on port 6067
- so browse to
http://localhost:6067
- which then wants me to authenticate, which doesn't work.
- which responds with something like
If you follow the readme.md
, it has you launch the application well before setting up authentication.
IMHO, if I'm running localonly
per the instructions, I shouldn't have to authenticate. But that's just me.
If you keeeeep reading down, there is some more information on seting up authentication.
No examples, are shown, but this is what the applicable section in the default config.yaml
file looks like:
google:
enabled: true
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: ''
local:
enabled: false
accounts:
- username: ''
passwordHash: ''
email: ''
You cannot enter a password in plaintext, which is good security, I guess. But again -- if you're running locally, you still have to jump through this hoop.
Set authentication.local.enabled
=> true
In your shell, execute:
node node_modules\jingo\jingo --hash-string password
So then you can plop it in and see
google:
enabled: true
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: ''
local:
enabled: true
accounts:
- username: 'username'
passwordHash: '5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8'
email: ''
Recent Comments