Skip to content

balvirsingh/distance-calculator

Repository files navigation

Distance calculator

Running the project.

To run the project after cloning follow the steps below:

I have setup this project with docker.

With Docker -
If do you want to install with docker then first please install the docker and docker compose on your system and follow the steps mentioned below. Here are the links -

https://docs.docker.com/engine/install/
https://docs.docker.com/compose/install/
Without Docker -
If do you want to install without docker then the following are the requirements -
Apache2
PHP 8.2.5

For non-docker project, commands are the same (skip first command)

Replace the ./docker-php with php
  1. In 1st terminal tab: Run the container
docker-compose up
  1. In 2nd terminal tab: Composer install
./docker-php composer install
  1. Command to calculate the distance (add the api key in .env file before run this command)
./docker-php bin/console app:distance-calculate

After run the command, The CSV file will be generated in the public folder of the application.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published