Fetch the exchange rates from the API and store it in database
- PHP 7.0
- Laravel 5.5
- Mysql 5.7
Docker
https://docs.docker.com/engine/installation/
Docker-compose
https://docs.docker.com/v1.11/compose/install/
Clone the project
$ git clone [email protected]:aleksmark/simple-exchange-rate-calculator.git
$ cd simple-exchange-rate-calculator
Setup the laravel env
$ cp .env.example .env
Build the docker environment
$ docker-compose up -d
Provision the application
$ ./post-deploy.sh
docker exec -it web php artisan exchange:get-exchange-rates