Skip to content
Arjen van Bochoven edited this page Jun 9, 2021 · 14 revisions

To get a demo of MunkiReport v6 running on your local machine, take the following steps:

  • Download the v6 (beta) from the github site
  • Open Terminal.app
  • In the terminal, step into the downloaded (and unzipped) MunkiReport directory:
cd ~/Downloads/munkireport-php-v6
  • If you don't have composer installed on your mac run
./build/setup_composer.sh
  • Using composer, you can install all dependencies:
composer install
  • Now you can start with the default settings which are stored in a file named .env
cp .env.example .env
  • To set up the database, edit .env so that DB_CONNECTION=sqlite is uncommented.
  • MunkiReport needs the database file to exist so run:
touch app/db/db.sqlite
  • With the database file in place, we can run migrations which will set up all necessary tables:
./please migrate
  • MunkiReport needs a user account, so we create one:
./please user:create
  • Start the internal development server:
php -S 127.0.0.1:8080 -t public

You're done! If you don't see any errors, you should be able to visit your demo MunkiReport instance by visiting http://127.0.0.1:8080 in your browser. You can login with the user account you just created.

Clone this wiki locally