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

wiki path in config.ini #56

Closed
DanInSpace104 opened this issue May 27, 2021 · 4 comments
Closed

wiki path in config.ini #56

DanInSpace104 opened this issue May 27, 2021 · 4 comments

Comments

@DanInSpace104
Copy link
Contributor

I believe it would be useful to set path to wiki folder in config.ini file. So it would be easyer to switch wiki. And provide more consistent user expirience

@bouncepaw
Copy link
Owner

One day.


Perhaps, we don't need path configuration at all! What if all of the wiki stuff was in one directory?:

cool-wiki/
|- cool-wiki-git/ # Git repository
|- config.ini
|- registered-users.json
|- fixed-users.json
|- cache/
   |- tokens.json
   |- rendered-hyphae/
   |- resized-media/

And you just cd cool-wiki and mycorrhiza. All paths are standard, no configuration is needed for them.

Just an idea.

@handlerug
Copy link
Contributor

I'm suggesting to decide on this feature right now, because that would make #55 a bit more straightforward and easier for end users. Actually, it'll make a whole lot of things much simpler and more convenient.

Also makes sense to name the Git folder wiki-git or something like that (wiki.git would be consistent with wiki.db and other possible storage names), because otherwise we'd have to either add the path into config.ini or consult the parent cool-wiki folder.

@bouncepaw
Copy link
Owner

I'll open a new issue on the folder structure. If decide to have one, there will be no need for wiki path in config.ini

@bouncepaw
Copy link
Owner

Oh, we decided to have the Structure that eliminates the need for the wiki path in config. Closing

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

No branches or pull requests

3 participants