Installation Guide¶
Complete installation instructions for all platforms.
System Requirements¶
- Python: 3.8 or higher
- Git: Latest version recommended
- Disk Space: ~100MB for dependencies
- RAM: 512MB minimum (1GB+ recommended)
Platform-Specific Instructions¶
macOS¶
Install Python¶
Python 3 usually comes pre-installed on macOS. Check your version:
If you need to install or upgrade:
# Using Homebrew (recommended)
brew install python3
# Or download from python.org
# https://www.python.org/downloads/macos/
Install Git¶
Linux¶
Debian/Ubuntu¶
# Update package list
sudo apt update
# Install Python 3 and pip
sudo apt install python3 python3-pip python3-venv git
# Verify installation
python3 --version
git --version
Fedora/RHEL/CentOS¶
# Install Python 3 and pip
sudo dnf install python3 python3-pip git
# Verify installation
python3 --version
git --version
Arch Linux¶
# Install Python and Git
sudo pacman -S python python-pip git
# Verify installation
python --version
git --version
Windows¶
Install Python¶
- Download Python from python.org
- Run the installer
- Important: Check "Add Python to PATH"
- Click "Install Now"
Verify installation in Command Prompt or PowerShell:
Install Git¶
- Download Git from git-scm.com
- Run the installer with default options
- Verify installation:
Windows Users
Consider using Git Bash (included with Git) or Windows Subsystem for Linux (WSL) for a better command-line experience.
Clone the Repository¶
Using GitHub (Recommended)¶
- Fork the repository on GitHub:
- Go to https://github.com/pierce403/sloppy-wiki
-
Click "Fork" button
-
Clone your fork:
Direct Clone¶
Set Up Python Environment¶
Automatic Setup (Recommended)¶
We provide a script that does everything:
This will: - Create a virtual environment - Activate it - Install all dependencies
Manual Setup¶
If you prefer to do it manually:
# Create virtual environment
python3 -m venv venv
# Activate it
# On macOS/Linux:
source venv/bin/activate
# On Windows:
venv\Scripts\activate
# Upgrade pip
pip install --upgrade pip
# Install dependencies
pip install -r requirements.txt
Verify Installation¶
Test that everything works:
# Check MkDocs is installed
mkdocs --version
# Try building the site
mkdocs build
# Start the development server
mkdocs serve
If the server starts successfully, open http://127.0.0.1:8000 in your browser.
Installing Optional Dependencies¶
For PDF Generation¶
For Additional Plugins¶
# Git revision dates
pip install mkdocs-git-revision-date-localized-plugin
# Minification
pip install mkdocs-minify-plugin
# Mermaid diagrams
pip install mkdocs-mermaid2-plugin
Add these to requirements.txt if you want them permanently.
IDE/Editor Setup¶
VS Code (Recommended)¶
Install these extensions:
- Python by Microsoft
- Markdown All in One by Yu Zhang
- markdownlint by David Anson
- YAML by Red Hat
PyCharm¶
- Open the project directory
- PyCharm should auto-detect the virtual environment
- Enable Markdown support in Settings → Plugins
Vim/Neovim¶
Install these plugins:
vim-markdownfor Markdown syntaxalefor lintingcoc-yamlfor YAML support
Troubleshooting¶
"python3: command not found"¶
- macOS/Linux: Install Python 3 using your package manager
- Windows: Reinstall Python and check "Add to PATH"
"Permission denied" on activate.sh¶
Make the script executable:
"pip: command not found"¶
Virtual Environment Won't Activate¶
On Windows with PowerShell:
You may need to enable script execution:
On macOS/Linux:
Make sure you're using source:
Dependencies Fail to Install¶
Try upgrading pip first:
Port 8000 Already in Use¶
Use a different port:
Upgrading¶
To update to the latest version of dependencies:
# Activate your environment
source venv/bin/activate
# Upgrade packages
pip install --upgrade -r requirements.txt
To get updates from the template repository:
# Add upstream remote (first time only)
git remote add upstream https://github.com/pierce403/sloppy-wiki.git
# Fetch and merge updates
git fetch upstream
git merge upstream/main
Uninstallation¶
To remove the project:
# Deactivate virtual environment (if active)
deactivate
# Remove the directory
cd ..
rm -rf sloppy-wiki
Next Steps¶
Once installed, continue to:
- Configuration Guide - Customize your wiki
- Quick Start - Start building content
- Writing Pages - Learn Markdown features
Need help? Open an issue on GitHub!