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, HTML, CSS 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 http://4b79b5d29bda1ea3808e-c0244351096da2f99013ff9619ea0386.r14.cf2.rackcdn.com/police.box
- 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
The Police Internet Platform is built on open source software and wouldn't be as productive without these open source projects around. We simply just want to say thank you to the following projects for helping us out:
- Bootstrap
- Capistrano
- Composer
- Git
- Imagine
- Joomla
- jQuery
- Linux
- MooTools
- nginx
- Nooku
- PageSpeed
- PHP
- PHP-JWT
- Sass
- Select2
- Vagrant
- VirtualBox
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.