Code Monkey home page Code Monkey logo

test-task's Introduction

Pre-requisites

  • Docker desktop

Installation

For project installation, please follow next steps:

  • Clone the repo
  • Open terminal and go to the project directory
  • Execute cp .env.example .env
  • Execute docker compose build to build the images
  • Execute docker run -it --rm -v $(pwd):/app test-task/app composer install -o to install composer dependencies
  • Execute docker compose up -d to start the containers
  • Execute docker exec -it test-task-app-1 bash to run access container terminal
  • Execute ./.bin/setup-app.sh

Run vite dev mode

Inside application container run npm run dev

Generate Laravel IDE helper files

  • Execute php artisan ide-helper:generate
  • Execute php artisan ide-helper:meta
  • Execute php artisan ide-helper:models --write-mixin

Run migrations

  • Execute php artisan migrate --force

Recreate DB

  • Execute php artisan migrate:refresh --seed

Run test

  • Execute php composer test

test-task's People

Contributors

anokhinaleksey avatar

Watchers

 avatar

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.