Skip to content
This repository has been archived by the owner on Oct 25, 2021. It is now read-only.

iagapie/php8-demo

Repository files navigation

Demo App

Minimum PHP Version

Installation

Install docker and docker compose.

$ cp .env.dist .env

$ # MacOS
$ sed -i '' "s/USER_ID=.*/USER_ID=$(id -u)/g" .env
$ sed -i '' "s/GROUP_ID=.*/GROUP_ID=$(id -g)/g" .env

$ # Linux
$ sed -i "s/USER_ID=.*/USER_ID=$(id -u)/g" .env
$ sed -i "s/GROUP_ID=.*/GROUP_ID=$(id -g)/g" .env

$ make up
$ make install

Demo

http:https://localhost

PhpMyAdmin

http:https://localhost:8080

  • Username: root
  • Password: password

Generate a migration

$ make cli
$ bin/console migrations:generate