You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/07/03 14:31:41 UTC
[GitHub] [apisix] juzhiyuan opened a new issue, #7373: docs: add description for Development environment
juzhiyuan opened a new issue, #7373:
URL: https://github.com/apache/apisix/issues/7373
### Current State
Hey 👋 I clone this repo to my dev server, but I get confused by mixing the `make install` and `make run` commands.
1. Our document doesn't mention the `make run` command: this command could start an apisix server without `apisix cli`; we could also use `make quit` or `make stop` to terminate the server.
2. Sometimes, I will forget to use `make run` but use `make install` and `apisix start` instead, then I will use commands mixed 😂 and have to try different ways to figure out why my configuration doesn't work.
@bzp2010 Could you please give more tips or notes?
### Desired State
How about having a guide like `the recommended ways to develop apisix`? or adding some tips on https://apisix.apache.org/docs/apisix/next/building-apisix? cc @navendu-pottekkat
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] navendu-pottekkat closed issue #7373: docs: add description for Development environment
Posted by "navendu-pottekkat (via GitHub)" <gi...@apache.org>.
navendu-pottekkat closed issue #7373: docs: add description for Development environment
URL: https://github.com/apache/apisix/issues/7373
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] juzhiyuan commented on issue #7373: docs: add description for Development environment
Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on issue #7373:
URL: https://github.com/apache/apisix/issues/7373#issuecomment-1173376596
> This whole documentation is the recommended way to develop APISIX.
I agree with this, but @bzp2010 recommended me to use `make run` on Development instead :)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] spacewander commented on issue #7373: docs: add description for Development environment
Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #7373:
URL: https://github.com/apache/apisix/issues/7373#issuecomment-1174645572
From my point of view, I would suggest using `./bin/apisix start` directly. The makefile is just a thin wrapper of `apisix` (not a good wrapper as its targets are not 100% equal to the action in `./bin/apisix`.)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] github-actions[bot] commented on issue #7373: docs: add description for Development environment
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #7373:
URL: https://github.com/apache/apisix/issues/7373#issuecomment-1600555815
This issue has been marked as stale due to 350 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] navendu-pottekkat commented on issue #7373: docs: add description for Development environment
Posted by GitBox <gi...@apache.org>.
navendu-pottekkat commented on issue #7373:
URL: https://github.com/apache/apisix/issues/7373#issuecomment-1173300106
If you follow the documentation (https://apisix.apache.org/docs/apisix/next/building-apisix) you should have `apisix` installed and `apisix init` and `apisix start` should work.
In the Makefile, `make run` will just call the `apisix` binary. So, both `make run` and `apisix run` are the same command. If `apisix start` doesn't work, then it is likely that the binary is not in the path.
So, I think we do not need to change anything here. This whole documentation is the recommended way to develop APISIX. We should only highlight the recommended way in our documentation. There should only be one way we recommend others.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] navendu-pottekkat commented on issue #7373: docs: add description for Development environment
Posted by GitBox <gi...@apache.org>.
navendu-pottekkat commented on issue #7373:
URL: https://github.com/apache/apisix/issues/7373#issuecomment-1173386451
@juzhiyuan It might be because the makefile sets the correct path to the APISIX binary.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org