The Police Internet Platform is an open-source platform specifically built for the internet websites of the Belgian Police. It uses a component based architecture. Written in PHP 5.3, HTML5, CSS3 and Javascript, and made by passionate open source technologists.
Developed by Timble.
- Install VirtualBox
- Install Vagrant
- Clone this repository
$ git clone https://github.com/belgianpolice/internet-platform.git
- Download the 'Police Box' from https://docs.google.com/file/d/0B8ge8rYDyzFhSy1WMjdmSXRkSTQ/edit?usp=sharing
- Setup the server
vagrant box add police local-path-to-police.box
- Go to the repository folder and bootup the server
vagrant up
- Add the following line to your hosts file
192.168.52.10 police.dev phpmyadmin.police.dev
Note: Linux users need to install NFS (Network File System) manually, see help.ubuntu.com for more information.
You can use the following commands to manage the server:
vangrant up
to initially start the servervagrant reload
reboots the servervagrant halt
powers the server downvagrant suspend
&vagrant resume
to make the server sleep/wake upvangrant destroy
to stop and destroy all resources of the server
More information about the Vagrant command-line interface can be found at docs.vagrantup.com.
-
The site application is available at http://police.dev/5388.
-
The admin application is available at http://police.dev/administrator/5388.
email: [email protected] password: admin
Check our contributing guide.
The files in this archive are released under the GPLv3 license. You can find a copy of this license in LICENSE.