Giter VIP home page Giter VIP logo

ips_test_assignment's Introduction

IPS Test Application

Installation

Prerequisites

To smoothly start app please make sure that you have locally installed:

  • Docker
  • docker-compose
  • PHP ^7.1.3

How-To

Add following entries to your /etc/hosts:

127.0.0.1 ips_test_mariadb
127.0.0.1 ips-test.local

Being in the project directory, copy the .env.example as .env:

cp .env.example .env

Configure missing values there like APP_KEY and Infusionsoft credentials named as:

INFUSIONSOFT_CLIENT_ID=
INFUSIONSOFT_SECRET=

Then run:

composer install

Start the environment with help of Docker:

docker-compose up or docker-compose up -d

Please note that after starting with the later command (in background), you might need to wait few more second before running db:seed, since migrations are being run automatically in the Docker container after it started via the entrypoint but output is not visible.

Now you also have to authorize your application to work with Infusionsoft. In order to do that visit your project under {PROJECT_URL}}/authorize_infusionsoft, most likely it will be:

http://ips-test.local:3000/authorize_infusionsoft

When it's authorized run the following command to seed DB tables (Infusionsoft connection required here):

docker exec -it ips_test_app sh -c "php artisan db:seed"

And that's it, you should be ready to go. Now run the tests:

phpunit

Laravel

Build Status Total Downloads Latest Stable Version License

About Laravel

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as:

Laravel is accessible, yet powerful, providing tools needed for large, robust applications.

Learning Laravel

Laravel has the most extensive and thorough documentation and video tutorial library of any modern web application framework, making it a breeze to get started learning the framework.

If you're not in the mood to read, Laracasts contains over 1100 video tutorials on a range of topics including Laravel, modern PHP, unit testing, JavaScript, and more. Boost the skill level of yourself and your entire team by digging into our comprehensive video library.

Laravel Sponsors

We would like to extend our thanks to the following sponsors for helping fund on-going Laravel development. If you are interested in becoming a sponsor, please visit the Laravel Patreon page:

Contributing

Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the Laravel documentation.

Security Vulnerabilities

If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [email protected]. All security vulnerabilities will be promptly addressed.

License

The Laravel framework is open-sourced software licensed under the MIT license.

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.