Skip to content

Commit

Permalink
additional work for #5
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Pollock committed Oct 8, 2018
1 parent 37a7782 commit e7bd7e5
Show file tree
Hide file tree
Showing 8 changed files with 205 additions and 296 deletions.
1 change: 0 additions & 1 deletion .idea/caldera-forms-query.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion .idea/php.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

483 changes: 196 additions & 287 deletions .idea/workspace.xml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ A local development environment is included, and provided. It is used for integ
* Install Local Environment And WordPress "Unit" Test Suite
- `composer wp-install`

You should know have WordPress at http://localhost:8888/
You should know have WordPress at http://localhost:8881

* (re)Start Server: Once server is installed, you can start it again
- `composer wp-start`
Expand Down
1 change: 1 addition & 0 deletions bin/install-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ HOST_PORT=$(docker-compose port wordpress 80 | awk -F : '{printf $2}')

# Wait until the docker containers are setup properely
echo -en $(status_message "Attempting to connect to wordpress...")
echo -en $(status_message http://localhost:$HOST_PORT)
until $(curl -L http://localhost:$HOST_PORT -so - 2>&1 | grep -q "WordPress"); do
echo -n '.'
sleep 5
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"wp-install": "bash ./bin/install-docker.sh",
"wp-tests": "docker-compose run --rm wordpress_phpunit phpunit --configuration phpunit-integration.xml.dist",
"phpunit-v": "phpunit --version",
"wp-phpunit-v": "docker-compose run --rm wordpress_phpunit phpunit --version",
"sniffs" : "phpcs src/ && phpcs Tests/",
"fixes" : "phpcbf src/ && phpcbf Tests/",
"lints" : "parallel-lint ./src --blame --exclude vendor && parallel-lint ./tests --blame --exclude vendor"
Expand Down
10 changes: 5 additions & 5 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
wordpress:
image: wordpress
ports:
- 8888:80
- 8881:80
environment:
WORDPRESS_DB_PASSWORD: example
ABSPATH: /usr/src/wordpress/
Expand Down

0 comments on commit e7bd7e5

Please sign in to comment.