The following web-application is a hub for multi-functional tools, maps, resources, and generators and was purpose-built for processing and easing official government paperwork.
- Simple and fast form fill-out process for reports, threads, general paperwork.
- Dynamic site elements. (Live clock, Breadcrumb, Day & Night Mode)
- Cookies saving user details upon submission. (Officer Name, Rank, Badge, Call Signs)
- Dynamic input fields, slots, and forms.
- Automatic HTML code or BBCode generation.
- Friendly copy and paste procedure.
These instructions will explain on how to obtain a working copy of the project up and running onto your local machine.
See the Deployment section for further instructions on how to setup the project after going through the Prerequisites & Requirements section.
Web-development platforms (such as WAMP, XAMP) which include the following software is required in order to run the project on a local machine.
Apache2 PHP 7+
The following steps will, in brief, explain how to setup your project up and running onto your local machine for development and testing purposes.
-
- Download the project repository to your local machine under any development path. e.g. X:/Your/Path/To/MDC
- Using your web-development platform of choice, create a new VirtualHost. This is usually the
httpd-vhosts.conffile, however, filenames may vary on development platform basis and therefore you should research on how to accesss such a file if not knowledgable in this area. -
<VirtualHost *:80> ServerName MDC DocumentRoot "X:/Your/Path/To/MDC" <Directory "X:/Your/Path/To/MDC/"> Options +Indexes +Includes +FollowSymLinks +MultiViews AllowOverride All Require local </Directory> </VirtualHost>
- Access your machine's hosts file to override the Domain Name System (DNS) for a local machine domain to gain easier access to the website.
-
- Open Command Prompt with Administrator Privileges
- Enter the following:
notepad C:\Windows\System32\drivers\etc\hosts
-
- Open Terminal
- Enter the following:
sudo nano /etc/hosts
- Add the following line at the bottom of the hosts file:
127.0.0.1 MDC.devSave the hosts file.
- Turn on your web-development platform and access the local website for development/testing purposes.
- http://MDC.dev
- Bootstrap - Web Framework
- FontAwesome - Font Icon Toolkit
- Leaflet - Web Mapping Application
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
- CXDezign - Creator & Project Manager - CXDezign
- Skent - Initial Arrest Report, Patrol Log, and Impound Report Generators - Skenticus
- Cascade - Base Leaflet code - Cascadee88
- Spartan - Constant suggestions and interest in the project.
- Brett - For making my life harder with each Penal Code update :).
- RoamPT - £3.83