mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
global public dir for every server module
This commit is contained in:
parent
eed99e6f02
commit
0381f6ddab
18 changed files with 55 additions and 225 deletions
41
README.md
41
README.md
|
@ -140,17 +140,17 @@ The server doesn't require that much maintenance, but you are advised to:
|
|||
* Watch out for directories that can get big:
|
||||
* `./stats`: server statistics and logs
|
||||
* `./data/dbs/backup`: backup of databases
|
||||
* `./publicDirs/qminingPublic/backs`: backup of question databases
|
||||
* `./publicDirs/qminingPublic/userFiles`: files shared by users
|
||||
* `./publicDirs/qminingPublic/savedQuestions`: unanswered questions saved by the userscript
|
||||
* `./public/backs`: backup of question databases
|
||||
* `./public/userFiles`: files shared by users
|
||||
* `./public/savedQuestions`: unanswered questions saved by the userscript
|
||||
* Make regular backups of important data:
|
||||
* `./data/dbs`: user and messages database
|
||||
* `./data/p2p`: p2p data, and public/private keys
|
||||
* `./publicDirs/qminingPublic/questionDbs`: question dbs
|
||||
* `./publicDirs/qminingPublic/questionDbs.json`: information about question db-s
|
||||
* `./publicDirs/qminingPublic/userFiles`: files shared by users
|
||||
* `./publicDirs/qminingPublic/forum`: forum entries and comments
|
||||
* `./publicDirs/qminingPublic/savedQuestions`: unanswered questions saved by the userscript
|
||||
* `./public/questionDbs`: question dbs
|
||||
* `./public/questionDbs.json`: information about question db-s
|
||||
* `./public/userFiles`: files shared by users
|
||||
* `./public/forum`: forum entries and comments
|
||||
* `./public/savedQuestions`: unanswered questions saved by the userscript
|
||||
* Most files not tracked by git
|
||||
|
||||
## Server maintenance utils
|
||||
|
@ -300,19 +300,18 @@ https://gitlab.com/MrFry/moodle-test-userscript
|
|||
│ └── qmining-page qmining frontend
|
||||
├── testingTools testing tools for the server
|
||||
├── defaultPublicFiles static public files that the frontends use, like images
|
||||
└── publicDirs/ public directories of the server, mostly available on the domain root
|
||||
└── qminingPublic/ qmining module public path (modules: qmining, dataeditor, api)
|
||||
├── backs/ question database backups
|
||||
├── chatFiles/ files sent on chat
|
||||
├── contacts.json contacts displayed on the /contact page
|
||||
├── forum/ forum contents
|
||||
├── forumFiles/ files uploaded to forums
|
||||
├── moodle-test-userscript link to the userscript, it fetches updates from this path
|
||||
├── motd motto of the day
|
||||
├── questionDbs/ directory of the question db-s
|
||||
├── questionDbs.json question db-s information
|
||||
├── savedQuestions/ un-answered questions for dataeditor, saved from test pages
|
||||
└── userFiles/ files shared by users
|
||||
└── public/ public directories of the server
|
||||
├── backs/ question database backups
|
||||
├── chatFiles/ files sent on chat
|
||||
├── contacts.json contacts displayed on the /contact page
|
||||
├── forum/ forum contents
|
||||
├── forumFiles/ files uploaded to forums
|
||||
├── moodle-test-userscript link to the userscript, it fetches updates from this path
|
||||
├── motd motto of the day
|
||||
├── questionDbs/ directory of the question db-s
|
||||
├── questionDbs.json question db-s information
|
||||
├── savedQuestions/ un-answered questions for dataeditor, saved from test pages
|
||||
└── userFiles/ files shared by users
|
||||
```
|
||||
|
||||
## Related repositories
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue