kamilcraft-api/README.md
2022-04-19 19:05:11 +02:00

831 B

KamilCraftAPI

API for kamilcraft.com projects

Requirements

Required

  • Docker 20.10.x (Engine) or later

Optional

  • PHP 8.0 or later
  • Composer 2.3.x or later
  • Nodejs 16.14.x or later

Preparation and installation

  1. Copy the contents of the .env.example file into .env

    cp .env.example .env
    
  2. Build the image needed for Laravel

    docker-compose build
    
  3. Run the images prepared in docker-compose.yml

    docker-compose up -d
    
  4. Install the dependencies needed for Laravel and Nodejs.
    The installer for Laravel generates the key and migrates the database.
    In the case of Nodejs, it generates page styles.

    docker-compose exec laravel install
    
  5. Go to http://localhost/dashboard in your browser.