This project is the solution to an exam test for Lead Developer.
A basic eCommerce with payment platform integration.
- docker
- docker-compose
You can install docker Here
git clone git@github.com:apolo96/evertec-exam.git && cd evertec-exam/
Note: add your ssh-key to github
These instructions assume OSX or Linux development environment. This project uses docker, which can be a bit quirky on Windows machines.
docker-compose up -d
This may take several minutes...
docker exec -it app composer install
Enter in the app
docker container.
docker exec -it app bash
Once inside the container,
Copy dev environment file.
cp .env.dev .env
And type this command:
php artisan key:generate
on the app
container type this command.
php artisan migrate
type following commands:
chown -R $USER:www-data storage
chown -R $USER:www-data bootstrap/cache
And set permissions to the directory.
chmod -R 775 storage
chmod -R 775 bootstrap/cache
Now, open the browser on 127.0.0.1
You should see the available and functional app.
vendor/bin/phpunit