Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Commit

Permalink
Use the .env file, for now
Browse files Browse the repository at this point in the history
  • Loading branch information
markkelnar committed Apr 1, 2021
1 parent 91a3935 commit aaec92f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The `app` docker image starts a running WordPress site with the local wp-graphql
The `testing` docker image starts a running WordPress and runs the codeception test suites.

1. Run `composer build-test` to build the `testing` docker image.
1. Run `composer run-tests` to start the `testing` image and run the codeception tests.
1. Run `composer run-test` to start the `testing` image and run the codeception tests.

# Using XDebug

Expand All @@ -39,7 +39,7 @@ Use the environment variable USING_XDEBUG to run tests with xdebug configured to

```
export USING_XDEBUG=1
composer run-tests
composer run-test
```

Start the debugger in your IDE. Set breakpoints.
Expand Down
2 changes: 1 addition & 1 deletion bin/run-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ if [ -z "$1" ]; then
print_usage_instructions
fi

env_file=".env.dist";
env_file=".env";

subcommand=$1; shift
case "$subcommand" in
Expand Down
2 changes: 1 addition & 1 deletion codeception.dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ paths:
envs: '%TESTS_ENVS%'
params:
- env
- .env.dist
- .env
actor_suffix: Tester
settings:
colors: true
Expand Down

0 comments on commit aaec92f

Please sign in to comment.