Skip to content
This repository has been archived by the owner on Feb 4, 2022. It is now read-only.

timble/openpolice-vagrant

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

README

Building the box

    $ vagrant up

Repackaging the box

Run purge.sh to reduce the VM size:

$ sudo purge.sh

Ensure the police database is removed:

$ mysqladmin -uroot -proot drop 9999

Create the package:

$ vagrant package --output=belgianpolice.box --vagrantfile Vagrantfile.pkg 

To test the new package locally, remove your current box and setup the local version:

$ vagrant box remove belgianpolice/box
$ vagrant box add /path/to/belgianpolice.box --name=belgianpolice/box

Go to your Belgian Police Internet Platform clone and test:

$ cd /path/to/internet-platform
$ vagrant destroy # if you've created the box before
$ vagrant up

Share your box using Vagrant Cloud!