Add custom bin scripts
This commit is contained in:
parent
e8b4dee822
commit
599dff7720
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -3,6 +3,7 @@
|
|||
!/.gitignore
|
||||
!/**/.gitkeep
|
||||
!/.idea/**
|
||||
!/bin/*
|
||||
!/config/**
|
||||
!/phpstan.neon
|
||||
!/scripts/**
|
||||
|
|
3
bin/composer.sh
Executable file
3
bin/composer.sh
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
symfony composer "$@"
|
5
bin/drush.sh
Executable file
5
bin/drush.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
cd web
|
||||
|
||||
symfony php ../vendor/bin/drush "$@"
|
5
bin/refresh.sh
Executable file
5
bin/refresh.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
./bin/drush.sh site:install -y \
|
||||
--existing-config \
|
||||
--account-pass=admin123
|
6
bin/start.sh
Executable file
6
bin/start.sh
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
docker-compose up -d
|
||||
symfony server:start -d
|
6
bin/stop.sh
Executable file
6
bin/stop.sh
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
symfony server:stop
|
||||
docker-compose down
|
Loading…
Reference in a new issue