Open a terminal and run the following command to clone the wiki repository from https://git.mills.io/prologic/wiki:
git clone https://git.mills.io/prologic/wiki
Navigate to the wiki
directory and run the following command to install dependencies:
cd wiki
pip3 install -r requirements.txt
Create a config.py
file in the config
directory with the following contents:
# config.py
from pathlib import Path
BASE_PATH = Path(__file__).parent.absolute()
DB_PATH = BASE_PATH / "data" / "wiki.sqlite"
This config file specifies the path to the sqlite database file. You can modify the DB_PATH
variable to change the database file location.
Run the following command to start the wiki:
FLASK_APP=wiki.py flask run
The wiki should now be accessible at http://localhost:5000.
Open a web browser and navigate to http://localhost:5000 to access the wiki. You can start creating and editing pages.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!