-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
36 changed files
with
1,082 additions
and
699 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
export PATH=$PWD/laradockctl/bin:$PATH | ||
export LARADOCKCTL_COMMAND_PATH=$PWD/.laradock/commands:$PWD/laradockctl/src/commands | ||
export LARADOCKCTL_ADDITIONAL_COMMAND_DIRS=$PWD/.laradock/commands | ||
export LARADOCKCTL_CONTAINER_NAMES=mysql,workspace | ||
export LARADOCKCTL_ENV_FILE=$PWD/.laradock/env-development | ||
export LARADOCKCTL_PHIVE_HOME_DIR_CONTAINER=.laradock/data/phive |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
/.laradock/data/* | ||
!/.laradock/data/.gitkeep | ||
/.phpdoc | ||
/build/ | ||
/tools/ | ||
/tools-src/ | ||
/vendor/ | ||
.envrc.local | ||
.php_cs | ||
.php_cs.cache | ||
.phpunit.result.cache | ||
phpcs.xml | ||
phpdoc.xml | ||
phpstan.neon | ||
phpunit.xml | ||
psalm.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
[submodule "laradock"] | ||
path = laradock | ||
url = https://github.com/Laradock/laradock.git | ||
ignore = dirty | ||
[submodule "laradockctl"] | ||
path = laradockctl | ||
url = https://github.com/ngmy/laradockctl.git |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
# | ||
# The laradockctl command to start up a development environment. | ||
|
||
set -Ceuo pipefail | ||
|
||
local NAME='up' | ||
local DESCRIPTION='Start up a development environment' | ||
|
||
handle() { | ||
source "$(laradockctl_command_path up.sh)" | ||
handle | ||
|
||
# Set environment variables to configure the testing environment | ||
sed -i 's/name="DB_HOST" value=""/name="DB_HOST" value="mysql"/g' ../phpunit.xml | ||
sed -i 's/name="DB_DATABASE" value=""/name="DB_DATABASE" value="test"/g' ../phpunit.xml | ||
sed -i 's/name="DB_USERNAME" value=""/name="DB_USERNAME" value="root"/g' ../phpunit.xml | ||
sed -i 's/name="DB_PASSWORD" value=""/name="DB_PASSWORD" value="root"/g' ../phpunit.xml | ||
} |
Oops, something went wrong.