Skip to content

kamilniemczycki/kamilcraft-api

Repository files navigation

KamilCraftAPI

API for kamilcraft.com projects

Requirements

Required

  • Docker 20.10.x (Engine) or later

Optional

  • PHP 8.1.x or later
  • Composer 2.4.x or later
  • Nodejs 18.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 and Node.js

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

    docker-compose up -d
  4. Install the dependencies needed for Laravel and Nodejs

    docker-compose exec -u "$(id -u):$(id -g)" php composer install
    docker-compose run --rm -u "$(id -u):$(id -g)" npm install
  5. Key and data generation

    docker-compose exec -u "$(id -u):$(id -g)" php php artisan key:generate
    docker-compose exec -u "$(id -u):$(id -g)" php php artisan migrate:fresh --seed
    docker-compose run --rm -u "$(id -u):$(id -g)" npm run dev
  6. Go to http://localhost/dashboard in your browser.

About

API for kamilcraft.com project

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages