A simple utility for Web Developers and SEO Managers that helps testing domain redirections and some URL rewriting rules.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment section for notes on how to deploy the project on a live system.
You can use one of the following to create a local web server:
- Docker - A set of platform-as-a-service (PaaS) products that use OS-level virtualization to deliver software in packages called containers.
- Docker Compose - A tool for defining and running multi-container Docker applications.
or
- XAMPP - A completely free, easy to install Apache distribution containing MariaDB, PHP, and Perl.
or any other environment with almost:
- PHP 7.0+
- cURL extension enabled
If you have Git installed on your computer you can clone this project with the following command:
git clone https://github.com/fgiorgio/redirections-tester.git
or download it manually otherwise.
Verify that you have installed Docker and Docker Compose on your computer with the following commands:
docker -v
docker-compose -v
The project contains all the configuration files to build the required containers. Open the project root directory and launch the command:
docker-compose up -d --build
This should build and run a complete environment with nginx web server, PHP 7 and cURL extension enabled. Check them with the following commands:
docker exec redirections-tester-app php -v
docker exec redirections-tester-app php -m
Check for the installed PHP version and cURL extension with the following commands:
php -v
php -m
Copy the content of src
directory on your local web server.
- Open your favourite browser
- Point to local web server (
127.0.0.1
or where project files are located) - Follow the instructions
You need a web server with the specifics listed in the Prerequisites section.
- Copy the content of
src
directory on your web server. - Point your browser to the web server, where project files are located
- Follow the instructions
- Bootstrap - the front-end component library used
- DataTables - a plugin for HTML tables
- FontAwesome - icon set and toolkit
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Francesco Giorgio - giorgio.dev
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details