Skip to content

wollardj/mwa2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting started

On OS X (10.7+):

  • Download and expand this zip:
    https://github.com/munki/contrib/raw/master/mwa2_demo.zip

  • Via the command-line, run the script within the expanded zip: /Users/me/Downloads/mwa2_demo/run_mwa2.sh

  • Follow the script prompts. Of note, at one place you'll be advised to edit a settings file. Specifically, you'll edit mwa2/munkiwebadmin/settings.py. Near the end of this file is this:

# MUNKI_REPO_DIR holds the local filesystem path to the Munki repo
MUNKI_REPO_DIR = '/Users/Shared/munki_repo'
  • Edit MUNKI_REPO_DIR to point to a Munki repo to use with MWA2. Please don't point it at your production repo unless you like living very dangerously. This repo should be writable by the user running MWA2.

  • After editing settings.py, run run_mwa2.sh again to continue the setup process.

  • Once all the setup tasks are complete, a development server will be launched, and MWA2 should be available at http://localhost:8080

run_mwa2.sh script details

  • Clones https://github.com/munki/mwa2.git from GitHub into the script directory (if needed)
  • Copies settings_template.py to settings.py and asks you to edit it. (if needed)
  • Creates the needed sqlite3 database. (if needed)
  • Prompts you to create the initial superuser. (if needed)
  • Uses the included CherryPy dev server to serve MWA2.

Acknowledgements

MunkiWebAdmin2 makes use of the following open source components:

Additionally, the demo files make use of:

About

Version 2 of MunkiWebAdmin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 41.9%
  • Python 30.0%
  • CSS 14.8%
  • HTML 13.3%