Skip to content

Commit

Permalink
Improve how to test instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
sshniro committed Jul 16, 2020
1 parent 5c57796 commit 91104f6
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions doc/how-to-build.md
Expand Up @@ -117,10 +117,21 @@ Makefile rules:
### Troubleshoot
If you run in to an issue `Error unknown directive "lua_package_path" in /API_ASPIX/incubator-apisix/t/servroot/conf/nginx.conf`
**Set Nginx Path**
- If you run in to an issue `Error unknown directive "lua_package_path" in /API_ASPIX/incubator-apisix/t/servroot/conf/nginx.conf`
make sure to set openresty as default nginx. And export the path as below.
* export PATH=/usr/local/openresty/nginx/sbin:$PATH
- Linux default installation path:
* export PATH=/usr/local/openresty/nginx/sbin:$PATH
- OSx default installation path via homebrew:
* export PATH=/usr/local/opt/openresty/nginx/sbin:$PATH
**Run Individual Test Cases**
- Use the following command to run test cases constratined to a file:
- prove -Itest-nginx/lib -r t/plugin/openid-connect.t
## 5. Update Admin API token to protect Apache APISIX
Expand Down

0 comments on commit 91104f6

Please sign in to comment.