-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: comandos para fazer build local do projeto #193
Merged
Merged
Conversation
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
tsantos8080
force-pushed
the
feature/commands-to-build-the-project
branch
from
May 13, 2024 17:54
f715a3b
to
df30d25
Compare
JoaoPedro0000
approved these changes
May 13, 2024
tsantos8080
force-pushed
the
feature/commands-to-build-the-project
branch
from
May 13, 2024 17:57
df30d25
to
da8f5e9
Compare
tsantos8080
force-pushed
the
feature/commands-to-build-the-project
branch
from
May 13, 2024 19:12
5f27194
to
da8f5e9
Compare
tsantos8080
force-pushed
the
feature/commands-to-build-the-project
branch
from
May 13, 2024 20:11
da8f5e9
to
40c0d76
Compare
tsantos8080
force-pushed
the
feature/commands-to-build-the-project
branch
from
May 13, 2024 20:15
40c0d76
to
2215e3e
Compare
tsantos8080
force-pushed
the
feature/commands-to-build-the-project
branch
from
May 14, 2024 14:53
ea66e84
to
f139f3a
Compare
tsantos8080
force-pushed
the
feature/commands-to-build-the-project
branch
2 times, most recently
from
May 14, 2024 15:02
a6e1468
to
14ec752
Compare
tsantos8080
force-pushed
the
feature/commands-to-build-the-project
branch
from
May 14, 2024 16:23
7de8071
to
dc0f9d6
Compare
Quality Gate passedIssues Measures |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adiciona Makefile e arquivos do Docker para fazer build do projeto no ambiente local.
O usuário e a senha do Wordpress é
melhorenvio
.Comandos:
make init
: Faz o build do projeto e ativa os containersmake up
: Ativa os containersmake down
: Desativa os containersmake attach
: Acessa o terminal do container do Wordpressmake wc-setup
: Configura os métodos de envio e de pagamento do WooCommerce para utilizar o plugin do Melhor Enviomake wc-create-products
: Cria produtos no WooCommerceAlém disso, é possível definir algumas configurações através de variáveis de ambiente (
/docker/.env
). Uma forma de fazer isso é criar um arquivo/docker/.env
com base no/docker/.env.example
, e definir dentro deste as seguintes configurações:WP_PORT
: A porta para acessar o container do WordpressDB_PORT
: A porta para acessar o container do banco de dados.distignore
, garantindo que estes NÃO irão ser adicionados no build da release do plugin.https://melhorenvio.atlassian.net/browse/HOP-2555