You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/generators/production_python_smart_contract_python/.github/workflows/production-python-smart-contract-python-cd.yaml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ jobs:
31
31
run: pipx install algokit
32
32
33
33
- name: Bootstrap dependencies
34
-
run: algokit bootstrap all --project-name 'production_python_smart_contract_python'
34
+
run: algokit project bootstrap all --project-name 'production_python_smart_contract_python'
Copy file name to clipboardExpand all lines: examples/generators/production_python_smart_contract_python/.github/workflows/production-python-smart-contract-python-ci.yaml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ jobs:
27
27
run: algokit localnet start
28
28
29
29
- name: Bootstrap dependencies
30
-
run: algokit bootstrap all --project-name 'production_python_smart_contract_python'
30
+
run: algokit project bootstrap all --project-name 'production_python_smart_contract_python'
Copy file name to clipboardExpand all lines: examples/generators/production_python_smart_contract_python/README.md
+46-34Lines changed: 46 additions & 34 deletions
Original file line number
Diff line number
Diff line change
@@ -11,40 +11,52 @@ This project has been generated using AlgoKit. See below for default getting sta
11
11
12
12
> For interactive tour over the codebase, download [vsls-contrib.codetour](https://marketplace.visualstudio.com/items?itemName=vsls-contrib.codetour) extension for VS Code, then open the [`.codetour.json`](./.tours/getting-started-with-your-algokit-project.tour) file in code tour extension.
13
13
14
-
### Initial setup
15
-
16
-
1. Clone this repository locally
17
-
2. Install pre-requisites:
18
-
- Make sure to have [Docker](https://www.docker.com/) installed and running on your machine.
19
-
- Install `AlgoKit` - [Link](https://github.com/algorandfoundation/algokit-cli#install): The recommended version is the latest available. Ensure you can execute `algokit --version` and get `2.0.0` or later.
20
-
- Bootstrap your local environment; run `algokit bootstrap all` within this folder, which will:
21
-
- Install `Poetry` - [Link](https://python-poetry.org/docs/#installation): The minimum required version is `^1.7`. Ensure you can execute `poetry -V` and get `1.2`+
22
-
- Run `poetry install` in the root directory, which will set up a `.venv` folder with a Python virtual environment and also install all Python dependencies
23
-
- Copy `.env.template` to `.env`
24
-
- Run `algokit localnet start` to start a local Algorand network in Docker. If you are using VS Code launch configurations provided by the template, this will be done automatically for you.
25
-
- Run `algokit project bootstrap all` to install all project dependencies (unless executed during `algokit init`).
26
-
3. Open the project and start debugging / developing via:
27
-
- Terminal
28
-
1. Run `algokit project run build` to build all contracts in the project
29
-
2. Run `algokit project deploy localnet` to deploy all contracts to the local Algorand network.
30
-
- VS Code (Launch Configurations)
31
-
1. Open the repository root in VS Code
32
-
2. Install recommended extensions
33
-
3. Hit F5 (or whatever you have debug mapped to) and it should start running with breakpoint debugging.
34
-
> **Note**
35
-
> If using Windows: Before running for the first time you will need to select the Python Interpreter.
36
-
1. Open the command palette (Ctrl/Cmd + Shift + P)
37
-
2. Search for `Python: Select Interpreter`
38
-
3. Select `./.venv/Scripts/python.exe`
39
-
- JetBrains IDEs (please note, this setup is primarily optimized for PyCharm Community Edition)
40
-
1. Open the repository root in the IDE
41
-
2. It should automatically detect it's a Poetry project and set up a Python interpreter and virtual environment.
42
-
3. Hit Shift+F10|Ctrl+R (or whatever you have debug mapped to) and it should start running with breakpoint debugging. Please note, JetBrains IDEs on Windows have a known bug that in some cases may prevent executing shell scripts as pre-launch tasks, for workarounds refer to [JetBrains forums](https://youtrack.jetbrains.com/issue/IDEA-277486/Shell-script-configuration-cannot-run-as-before-launch-task).
43
-
44
-
### Subsequently
45
-
46
-
1. If you update to the latest source code and there are new dependencies you will need to run `algokit bootstrap all` again
47
-
2. Follow step 3 above
14
+
### Initial Setup
15
+
16
+
#### 1. Clone the Repository
17
+
Start by cloning this repository to your local machine.
18
+
19
+
#### 2. Install Pre-requisites
20
+
Ensure the following pre-requisites are installed and properly configured:
21
+
22
+
-**Docker**: Required for running a local Algorand network. [Install Docker](https://www.docker.com/).
23
+
-**AlgoKit CLI**: Essential for project setup and operations. Install the latest version from [AlgoKit CLI Installation Guide](https://github.com/algorandfoundation/algokit-cli#install). Verify installation with `algokit --version`, expecting `2.0.0` or later.
24
+
25
+
#### 3. Bootstrap Your Local Environment
26
+
Run the following commands within the project folder:
27
+
28
+
-**Install Poetry**: Required for Python dependency management. [Installation Guide](https://python-poetry.org/docs/#installation). Verify with `poetry -V` to see version `1.2`+.
29
+
-**Setup Project**: Execute `algokit project bootstrap all` to:
30
+
- Install dependencies and setup a Python virtual environment in `.venv`.
31
+
- Copy `.env.template` to `.env`.
32
+
-**Start LocalNet**: Use `algokit localnet start` to initiate a local Algorand network.
33
+
34
+
### Development Workflow
35
+
36
+
#### Terminal
37
+
Directly manage and interact with your project using AlgoKit commands:
38
+
39
+
1.**Build Contracts**: `algokit project run build` compiles all smart contracts.
40
+
2.**Deploy**: Use `algokit project deploy localnet` to deploy contracts to the local network.
41
+
42
+
#### VS Code
43
+
For a seamless experience with breakpoint debugging and other features:
44
+
45
+
1.**Open Project**: In VS Code, open the repository root.
46
+
2.**Install Extensions**: Follow prompts to install recommended extensions.
47
+
3.**Debugging**:
48
+
- Use `F5` to start debugging.
49
+
-**Windows Users**: Select the Python interpreter at `./.venv/Scripts/python.exe` via `Ctrl/Cmd + Shift + P` > `Python: Select Interpreter` before the first run.
50
+
51
+
#### JetBrains IDEs
52
+
While primarily optimized for VS Code, JetBrains IDEs are supported:
53
+
54
+
1.**Open Project**: In your JetBrains IDE, open the repository root.
55
+
2.**Automatic Setup**: The IDE should configure the Python interpreter and virtual environment.
56
+
3.**Debugging**: Use `Shift+F10` or `Ctrl+R` to start debugging. Note: Windows users may encounter issues with pre-launch tasks due to a known bug. See [JetBrains forums](https://youtrack.jetbrains.com/issue/IDEA-277486/Shell-script-configuration-cannot-run-as-before-launch-task) for workarounds.
57
+
58
+
## AlgoKit Workspaces and Project Management
59
+
This project supports both standalone and monorepo setups through AlgoKit workspaces. Leverage [`algokit project run`](https://github.com/algorandfoundation/algokit-cli/blob/main/docs/features/project/run.md) commands for efficient monorepo project orchestration and management across multiple projects within a workspace.
48
60
49
61
> For guidance on `smart_contracts` folder and adding new contracts to the project please see [README](smart_contracts/README.md) on the respective folder.### Continuous Integration / Continuous Deployment (CI/CD)
Copy file name to clipboardExpand all lines: examples/generators/production_python_smart_contract_typescript/.github/workflows/production-python-smart-contract-typescript-cd.yaml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ jobs:
31
31
run: pipx install algokit
32
32
33
33
- name: Bootstrap dependencies
34
-
run: algokit bootstrap all --project-name 'production_python_smart_contract_typescript'
34
+
run: algokit project bootstrap all --project-name 'production_python_smart_contract_typescript'
Copy file name to clipboardExpand all lines: examples/generators/production_python_smart_contract_typescript/.github/workflows/production-python-smart-contract-typescript-ci.yaml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ jobs:
27
27
run: algokit localnet start
28
28
29
29
- name: Bootstrap dependencies
30
-
run: algokit bootstrap all --project-name 'production_python_smart_contract_typescript'
30
+
run: algokit project bootstrap all --project-name 'production_python_smart_contract_typescript'
Copy file name to clipboardExpand all lines: examples/generators/production_python_smart_contract_typescript/README.md
+46-34Lines changed: 46 additions & 34 deletions
Original file line number
Diff line number
Diff line change
@@ -11,40 +11,52 @@ This project has been generated using AlgoKit. See below for default getting sta
11
11
12
12
> For interactive tour over the codebase, download [vsls-contrib.codetour](https://marketplace.visualstudio.com/items?itemName=vsls-contrib.codetour) extension for VS Code, then open the [`.codetour.json`](./.tours/getting-started-with-your-algokit-project.tour) file in code tour extension.
13
13
14
-
### Initial setup
15
-
16
-
1. Clone this repository locally
17
-
2. Install pre-requisites:
18
-
- Make sure to have [Docker](https://www.docker.com/) installed and running on your machine.
19
-
- Install `AlgoKit` - [Link](https://github.com/algorandfoundation/algokit-cli#install): The recommended version is the latest available. Ensure you can execute `algokit --version` and get `2.0.0` or later.
20
-
- Bootstrap your local environment; run `algokit bootstrap all` within this folder, which will:
21
-
- Install `Poetry` - [Link](https://python-poetry.org/docs/#installation): The minimum required version is `^1.7`. Ensure you can execute `poetry -V` and get `1.2`+
22
-
- Run `poetry install` in the root directory, which will set up a `.venv` folder with a Python virtual environment and also install all Python dependencies
23
-
- Copy `.env.template` to `.env`
24
-
- Run `algokit localnet start` to start a local Algorand network in Docker. If you are using VS Code launch configurations provided by the template, this will be done automatically for you.
25
-
- Run `algokit project bootstrap all` to install all project dependencies (unless executed during `algokit init`).
26
-
3. Open the project and start debugging / developing via:
27
-
- Terminal
28
-
1. Run `algokit project run build` to build all contracts in the project
29
-
2. Run `algokit project deploy localnet` to deploy all contracts to the local Algorand network.
30
-
- VS Code (Launch Configurations)
31
-
1. Open the repository root in VS Code
32
-
2. Install recommended extensions
33
-
3. Hit F5 (or whatever you have debug mapped to) and it should start running with breakpoint debugging.
34
-
> **Note**
35
-
> If using Windows: Before running for the first time you will need to select the Python Interpreter.
36
-
1. Open the command palette (Ctrl/Cmd + Shift + P)
37
-
2. Search for `Python: Select Interpreter`
38
-
3. Select `./.venv/Scripts/python.exe`
39
-
- JetBrains IDEs (please note, this setup is primarily optimized for PyCharm Community Edition)
40
-
1. Open the repository root in the IDE
41
-
2. It should automatically detect it's a Poetry project and set up a Python interpreter and virtual environment.
42
-
3. Hit Shift+F10|Ctrl+R (or whatever you have debug mapped to) and it should start running with breakpoint debugging. Please note, JetBrains IDEs on Windows have a known bug that in some cases may prevent executing shell scripts as pre-launch tasks, for workarounds refer to [JetBrains forums](https://youtrack.jetbrains.com/issue/IDEA-277486/Shell-script-configuration-cannot-run-as-before-launch-task).
43
-
44
-
### Subsequently
45
-
46
-
1. If you update to the latest source code and there are new dependencies you will need to run `algokit bootstrap all` again
47
-
2. Follow step 3 above
14
+
### Initial Setup
15
+
16
+
#### 1. Clone the Repository
17
+
Start by cloning this repository to your local machine.
18
+
19
+
#### 2. Install Pre-requisites
20
+
Ensure the following pre-requisites are installed and properly configured:
21
+
22
+
-**Docker**: Required for running a local Algorand network. [Install Docker](https://www.docker.com/).
23
+
-**AlgoKit CLI**: Essential for project setup and operations. Install the latest version from [AlgoKit CLI Installation Guide](https://github.com/algorandfoundation/algokit-cli#install). Verify installation with `algokit --version`, expecting `2.0.0` or later.
24
+
25
+
#### 3. Bootstrap Your Local Environment
26
+
Run the following commands within the project folder:
27
+
28
+
-**Install Poetry**: Required for Python dependency management. [Installation Guide](https://python-poetry.org/docs/#installation). Verify with `poetry -V` to see version `1.2`+.
29
+
-**Setup Project**: Execute `algokit project bootstrap all` to:
30
+
- Install dependencies and setup a Python virtual environment in `.venv`.
31
+
- Copy `.env.template` to `.env`.
32
+
-**Start LocalNet**: Use `algokit localnet start` to initiate a local Algorand network.
33
+
34
+
### Development Workflow
35
+
36
+
#### Terminal
37
+
Directly manage and interact with your project using AlgoKit commands:
38
+
39
+
1.**Build Contracts**: `algokit project run build` compiles all smart contracts.
40
+
2.**Deploy**: Use `algokit project deploy localnet` to deploy contracts to the local network.
41
+
42
+
#### VS Code
43
+
For a seamless experience with breakpoint debugging and other features:
44
+
45
+
1.**Open Project**: In VS Code, open the repository root.
46
+
2.**Install Extensions**: Follow prompts to install recommended extensions.
47
+
3.**Debugging**:
48
+
- Use `F5` to start debugging.
49
+
-**Windows Users**: Select the Python interpreter at `./.venv/Scripts/python.exe` via `Ctrl/Cmd + Shift + P` > `Python: Select Interpreter` before the first run.
50
+
51
+
#### JetBrains IDEs
52
+
While primarily optimized for VS Code, JetBrains IDEs are supported:
53
+
54
+
1.**Open Project**: In your JetBrains IDE, open the repository root.
55
+
2.**Automatic Setup**: The IDE should configure the Python interpreter and virtual environment.
56
+
3.**Debugging**: Use `Shift+F10` or `Ctrl+R` to start debugging. Note: Windows users may encounter issues with pre-launch tasks due to a known bug. See [JetBrains forums](https://youtrack.jetbrains.com/issue/IDEA-277486/Shell-script-configuration-cannot-run-as-before-launch-task) for workarounds.
57
+
58
+
## AlgoKit Workspaces and Project Management
59
+
This project supports both standalone and monorepo setups through AlgoKit workspaces. Leverage [`algokit project run`](https://github.com/algorandfoundation/algokit-cli/blob/main/docs/features/project/run.md) commands for efficient monorepo project orchestration and management across multiple projects within a workspace.
48
60
49
61
> For guidance on `smart_contracts` folder and adding new contracts to the project please see [README](smart_contracts/README.md) on the respective folder.### Continuous Integration / Continuous Deployment (CI/CD)
Copy file name to clipboardExpand all lines: examples/generators/starter_python_smart_contract_python/README.md
+46-34Lines changed: 46 additions & 34 deletions
Original file line number
Diff line number
Diff line change
@@ -11,40 +11,52 @@ This project has been generated using AlgoKit. See below for default getting sta
11
11
12
12
> For interactive tour over the codebase, download [vsls-contrib.codetour](https://marketplace.visualstudio.com/items?itemName=vsls-contrib.codetour) extension for VS Code, then open the [`.codetour.json`](./.tours/getting-started-with-your-algokit-project.tour) file in code tour extension.
13
13
14
-
### Initial setup
15
-
16
-
1. Clone this repository locally
17
-
2. Install pre-requisites:
18
-
- Make sure to have [Docker](https://www.docker.com/) installed and running on your machine.
19
-
- Install `AlgoKit` - [Link](https://github.com/algorandfoundation/algokit-cli#install): The recommended version is the latest available. Ensure you can execute `algokit --version` and get `2.0.0` or later.
20
-
- Bootstrap your local environment; run `algokit bootstrap all` within this folder, which will:
21
-
- Install `Poetry` - [Link](https://python-poetry.org/docs/#installation): The minimum required version is `^1.7`. Ensure you can execute `poetry -V` and get `1.2`+
22
-
- Run `poetry install` in the root directory, which will set up a `.venv` folder with a Python virtual environment and also install all Python dependencies
23
-
- Copy `.env.template` to `.env`
24
-
- Run `algokit localnet start` to start a local Algorand network in Docker. If you are using VS Code launch configurations provided by the template, this will be done automatically for you.
25
-
- Run `algokit project bootstrap all` to install all project dependencies (unless executed during `algokit init`).
26
-
3. Open the project and start debugging / developing via:
27
-
- Terminal
28
-
1. Run `algokit project run build` to build all contracts in the project
29
-
2. Run `algokit project deploy localnet` to deploy all contracts to the local Algorand network.
30
-
- VS Code (Launch Configurations)
31
-
1. Open the repository root in VS Code
32
-
2. Install recommended extensions
33
-
3. Hit F5 (or whatever you have debug mapped to) and it should start running with breakpoint debugging.
34
-
> **Note**
35
-
> If using Windows: Before running for the first time you will need to select the Python Interpreter.
36
-
1. Open the command palette (Ctrl/Cmd + Shift + P)
37
-
2. Search for `Python: Select Interpreter`
38
-
3. Select `./.venv/Scripts/python.exe`
39
-
- JetBrains IDEs (please note, this setup is primarily optimized for PyCharm Community Edition)
40
-
1. Open the repository root in the IDE
41
-
2. It should automatically detect it's a Poetry project and set up a Python interpreter and virtual environment.
42
-
3. Hit Shift+F10|Ctrl+R (or whatever you have debug mapped to) and it should start running with breakpoint debugging. Please note, JetBrains IDEs on Windows have a known bug that in some cases may prevent executing shell scripts as pre-launch tasks, for workarounds refer to [JetBrains forums](https://youtrack.jetbrains.com/issue/IDEA-277486/Shell-script-configuration-cannot-run-as-before-launch-task).
43
-
44
-
### Subsequently
45
-
46
-
1. If you update to the latest source code and there are new dependencies you will need to run `algokit bootstrap all` again
47
-
2. Follow step 3 above
14
+
### Initial Setup
15
+
16
+
#### 1. Clone the Repository
17
+
Start by cloning this repository to your local machine.
18
+
19
+
#### 2. Install Pre-requisites
20
+
Ensure the following pre-requisites are installed and properly configured:
21
+
22
+
-**Docker**: Required for running a local Algorand network. [Install Docker](https://www.docker.com/).
23
+
-**AlgoKit CLI**: Essential for project setup and operations. Install the latest version from [AlgoKit CLI Installation Guide](https://github.com/algorandfoundation/algokit-cli#install). Verify installation with `algokit --version`, expecting `2.0.0` or later.
24
+
25
+
#### 3. Bootstrap Your Local Environment
26
+
Run the following commands within the project folder:
27
+
28
+
-**Install Poetry**: Required for Python dependency management. [Installation Guide](https://python-poetry.org/docs/#installation). Verify with `poetry -V` to see version `1.2`+.
29
+
-**Setup Project**: Execute `algokit project bootstrap all` to:
30
+
- Install dependencies and setup a Python virtual environment in `.venv`.
31
+
- Copy `.env.template` to `.env`.
32
+
-**Start LocalNet**: Use `algokit localnet start` to initiate a local Algorand network.
33
+
34
+
### Development Workflow
35
+
36
+
#### Terminal
37
+
Directly manage and interact with your project using AlgoKit commands:
38
+
39
+
1.**Build Contracts**: `algokit project run build` compiles all smart contracts.
40
+
2.**Deploy**: Use `algokit project deploy localnet` to deploy contracts to the local network.
41
+
42
+
#### VS Code
43
+
For a seamless experience with breakpoint debugging and other features:
44
+
45
+
1.**Open Project**: In VS Code, open the repository root.
46
+
2.**Install Extensions**: Follow prompts to install recommended extensions.
47
+
3.**Debugging**:
48
+
- Use `F5` to start debugging.
49
+
-**Windows Users**: Select the Python interpreter at `./.venv/Scripts/python.exe` via `Ctrl/Cmd + Shift + P` > `Python: Select Interpreter` before the first run.
50
+
51
+
#### JetBrains IDEs
52
+
While primarily optimized for VS Code, JetBrains IDEs are supported:
53
+
54
+
1.**Open Project**: In your JetBrains IDE, open the repository root.
55
+
2.**Automatic Setup**: The IDE should configure the Python interpreter and virtual environment.
56
+
3.**Debugging**: Use `Shift+F10` or `Ctrl+R` to start debugging. Note: Windows users may encounter issues with pre-launch tasks due to a known bug. See [JetBrains forums](https://youtrack.jetbrains.com/issue/IDEA-277486/Shell-script-configuration-cannot-run-as-before-launch-task) for workarounds.
57
+
58
+
## AlgoKit Workspaces and Project Management
59
+
This project supports both standalone and monorepo setups through AlgoKit workspaces. Leverage [`algokit project run`](https://github.com/algorandfoundation/algokit-cli/blob/main/docs/features/project/run.md) commands for efficient monorepo project orchestration and management across multiple projects within a workspace.
48
60
49
61
> For guidance on `smart_contracts` folder and adding new contracts to the project please see [README](smart_contracts/README.md) on the respective folder.
0 commit comments