Skip to content

Instantly share code, notes, and snippets.

@jzaplet
Created April 22, 2024 21:12
Show Gist options
  • Select an option

  • Save jzaplet/c3a951f78166ec4a2dbf2052c50ee86e to your computer and use it in GitHub Desktop.

Select an option

Save jzaplet/c3a951f78166ec4a2dbf2052c50ee86e to your computer and use it in GitHub Desktop.
Megio docker installation

Instalace přes Docker

# 1. Stáhněte vzorový projekt do aktuální složky
curl -sL \
  https://raw.githubusercontent.com/strategio-digital/megio-core/master/install.sh \
  | bash /dev/stdin create

# 2. Duplikujte vzorový konfigurační soubor
cp .env.example .env

# 3. Nastartujte docker container a připojte se do něj
./project.sh serve && ./project.sh app

# 4. Nainstalujte PHP dependencies a zmigrujte db
composer i && bin/console diff && bin/console migrate --no-interaction

# 5. Odpojte se z containeru
exit

# 6. Nainstalujte a zkompilujte front-end (lokálně)
yarn && yarn build

# 7. Přejděte na adresu: http://localhost:8090
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment