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

Commit

Permalink
fix: Resolving confusing readme when generating via fullstack template
Browse files Browse the repository at this point in the history
  • Loading branch information
robdmoore authored Nov 7, 2023
1 parent 52e1517 commit 45925a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template_content/smart_contracts/README.md.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

By the default the template creates a single `HelloWorld` contract under {{ contract_name }} folder in the `smart_contracts` directory. To add a new contract:

1. From the root of the repository execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory.
1. From the root of the project (`../`) execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory.
2. Each contract potentially has different creation parameters and deployment steps. Hence, you need to define your deployment logic in {% if deployment_language == 'python' %}`deploy_config.py`{% elif deployment_language == 'typescript' %}`deploy-config.ts`{% endif %}file.
3. `config.py` file will automatically build all contracts under `smart_contracts` directory. If you want to build specific contracts manually, modify the default code provided by the template in `config.py` file.
{%- if deployment_language == 'typescript' %}
Expand Down

0 comments on commit 45925a7

Please sign in to comment.