first init

This commit is contained in:
sHa
2019-06-07 09:31:24 +03:00
commit 22ed076ccf
21 changed files with 266 additions and 0 deletions

19
scripts/docker.firstrun.sh Executable file
View File

@@ -0,0 +1,19 @@
#!/bin/bash
#
# @package sscripts
# @author sHa <sha@shadoll.dev>
# @copyright 2019 shadoll
# @version 19.6.7
# @link https://shadoll.dev
#
DIR=$(dirname "$0")
ROOT=$(cd "$DIR"/.. && pwd)
$ROOT/bin/app.composer install
$ROOT/bin/app.composer run-script post-root-package-install
$ROOT/bin/app.composer dump-autoload --optimize
$ROOT/bin/fix_permissions
$ROOT/bin/db.restore