Meta-documentation website for Denizen.
Designed for and tested on Debian Linux.
- Make sure you have
screen
anddotnet-6-sdk
available - Add a user for the service (via
adduser
generally, thensu
to that user) - Clone the git repo (
git clone https://github.com/DenizenScript/DenizenMetaWebsite
) and enter the folder - Make a folder labeled
config
, inside it make a text file labeledconfig.fds
, and add any configuration keys from the sample config below. All keys are optional, a default config would be an empty file. - Call
./update.sh
- Will by default open on port 8098. To change this, edit
start.sh
- It is strongly recommended you run this webserver behind a reverse proxy like Apache2.
- Install DotNET 6
- Make a folder labeled
config
, inside it make a text file labeledconfig.fds
, and add any configuration keys from the sample config below. All keys are optional, a default config would be an empty file. - Open this folder in VS Code
- Use the terminal at the bottom of VS Code, run
.\start.ps1
- Open
localhost:8098
in your browser
# Set to a webhook token that will cause the website to reload meta documentation from source.
# This can be used by sending a POST request to "<base url>/Webhook/Reload?token=some_token_here"
# Exclude this config key to not have any reloading.
reload-webhook-token: some_token_here
# Set to a list of alternate meta doc source URLs. Exclude this key to use the default source list.
alt-sources:
- https://example.com
This is an open source project, provided entirely freely, for everyone to use and contribute to.
If you make any changes that could benefit the community as a whole, please contribute upstream.
You can do basically whatever you want, except you may not hold any developer liable for what you do with the software.
The MIT License (MIT)
Copyright (c) 2021-2022 The Denizen Script Team
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.