fraction / oasis

Free, open-source, peer-to-peer social application that helps you follow friends and discover new ones on Secure Scuttlebutt (SSB).
http://oasis-demo.fraction.io
GNU Affero General Public License v3.0
286 stars 42 forks source link

No configuration file found ~/.config/oasis/default.json #439

Closed zicmama closed 3 years ago

zicmama commented 4 years ago

What's the problem you want solved?

oasis No configuration file found at /home/fred/.config/oasis/default.json, using built-in default values. +0ms
  oasis Listening on http://ONELOVE:3000 +2s
  oasis Starting Scuttlebutt service +0ms
ssb-friends: stream legacy api used

Is there details on how to make a correct .config/oasis/default.json ?

christianbundy commented 4 years ago

Does the documentation need any information added? https://github.com/fraction/oasis/blob/master/docs/configuring.md

zicmama commented 4 years ago

Thanks. for documentation link... I miss, what are the parameters I could define? Other parameters than "port" are existing ?

sorry for such noob question

christianbundy commented 4 years ago

Great question. If you run oasis --help you'll see all of the parameters, which are also defined in the source code here: https://github.com/fraction/oasis/blob/master/src/cli.js

Right now they're: