Git Product home page Git Product logo

evertec-exam's Introduction

Evertec exam

This project is the solution to an exam test for Lead Developer.

A basic eCommerce with payment platform integration.

Requirements

  • docker
  • docker-compose

You can install docker Here

Clone project

git clone [email protected]:apolo96/evertec-exam.git && cd evertec-exam/

Note: add your ssh-key to github

Setup Instructions

These instructions assume OSX or Linux development environment. This project uses docker, which can be a bit quirky on Windows machines.

Run app services

docker-compose up -d

This may take several minutes...

Install dependencies

docker exec -it app composer install

Generate key app

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

Run database migrations

on the app container type this command.

php artisan migrate

Set ownership permission

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.

Run suite test

vendor/bin/phpunit

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.