Add custom bin scripts
This commit is contained in:
parent
e8b4dee822
commit
599dff7720
6 changed files with 26 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue