Skip to content
Steve edited this page Jun 1, 2024 · 14 revisions

Install webadmin on macOS (development environment):

Prerequisites

  • Git
  • Python
  • munki repo
  • munkitools
  • Docker (optional for database)

Install python:

The easiest way is to install it via Homebrew. (follow this article to install Homebrew: https://docs.brew.sh/Homebrew-and-Python)

brew install python

Run munkiwebadmin

clone munkiwebadmin

cd ~
git clone https://github.com/SteveKueng/munkiwebadmin.git
cd munkiwebadmin

Create virtual env and activate it

python -m venv ./virtualenv
source virtualenv/bin/activate

install requirements

pip install -r app/requirements.txt

create admin user

python manage.py createsuperuser

start dev server

check out devScript/startDevServer.sh and change any environment variable to your needs. MUNKI_REPO_DIR MAKECATALOGS_PATH Do not change DEBUG to 0.

./devScripts/startDevServer.sh

access munkiwebadmin

Check out http://localhost:8000