File tree 7 files changed +14
-7
lines changed
production_python_smart_contract_python/smart_contracts
production_python_smart_contract_typescript/smart_contracts
starter_python_smart_contract_python/smart_contracts
starter_python_smart_contract_typescript/smart_contracts
production_python/smart_contracts
starter_python/smart_contracts
template_content/smart_contracts
7 files changed +14
-7
lines changed Original file line number Diff line number Diff line change 19
19
)
20
20
logger = logging .getLogger (__name__ )
21
21
logger .info ("Loading .env" )
22
+ # For manual script execution (bypassing `algokit project deploy`) with a custom .env,
23
+ # modify `load_dotenv()` accordingly. For example, `load_dotenv('.env.localnet')`.
22
24
load_dotenv ()
23
- load_dotenv (".env.localnet" )
24
25
root_path = Path (__file__ ).parent
25
26
26
27
Original file line number Diff line number Diff line change 12
12
)
13
13
logger = logging .getLogger (__name__ )
14
14
logger .info ("Loading .env" )
15
+ # For manual script execution (bypassing `algokit project deploy`) with a custom .env,
16
+ # modify `load_dotenv()` accordingly. For example, `load_dotenv('.env.localnet')`.
15
17
load_dotenv ()
16
- load_dotenv (".env.localnet" )
17
18
root_path = Path (__file__ ).parent
18
19
19
20
Original file line number Diff line number Diff line change 19
19
)
20
20
logger = logging .getLogger (__name__ )
21
21
logger .info ("Loading .env" )
22
+ # For manual script execution (bypassing `algokit project deploy`) with a custom .env,
23
+ # modify `load_dotenv()` accordingly. For example, `load_dotenv('.env.localnet')`.
22
24
load_dotenv ()
23
- load_dotenv (".env.localnet" )
24
25
root_path = Path (__file__ ).parent
25
26
26
27
Original file line number Diff line number Diff line change 12
12
)
13
13
logger = logging .getLogger (__name__ )
14
14
logger .info ("Loading .env" )
15
+ # For manual script execution (bypassing `algokit project deploy`) with a custom .env,
16
+ # modify `load_dotenv()` accordingly. For example, `load_dotenv('.env.localnet')`.
15
17
load_dotenv ()
16
- load_dotenv (".env.localnet" )
17
18
root_path = Path (__file__ ).parent
18
19
19
20
Original file line number Diff line number Diff line change 19
19
)
20
20
logger = logging .getLogger (__name__ )
21
21
logger .info ("Loading .env" )
22
+ # For manual script execution (bypassing `algokit project deploy`) with a custom .env,
23
+ # modify `load_dotenv()` accordingly. For example, `load_dotenv('.env.localnet')`.
22
24
load_dotenv ()
23
- load_dotenv (".env.localnet" )
24
25
root_path = Path (__file__ ).parent
25
26
26
27
Original file line number Diff line number Diff line change 19
19
)
20
20
logger = logging .getLogger (__name__ )
21
21
logger .info ("Loading .env" )
22
+ # For manual script execution (bypassing `algokit project deploy`) with a custom .env,
23
+ # modify `load_dotenv()` accordingly. For example, `load_dotenv('.env.localnet')`.
22
24
load_dotenv ()
23
- load_dotenv (".env.localnet" )
24
25
root_path = Path (__file__ ).parent
25
26
26
27
Original file line number Diff line number Diff line change @@ -21,8 +21,9 @@ logging.basicConfig(
21
21
)
22
22
logger = logging.getLogger(__name__)
23
23
logger.info("Loading .env")
24
+ # For manual script execution (bypassing `algokit project deploy`) with a custom .env,
25
+ # modify `load_dotenv()` accordingly. For example, `load_dotenv('.env.localnet')`.
24
26
load_dotenv()
25
- load_dotenv(".env.localnet")
26
27
root_path = Path(__file__).parent
27
28
28
29
You can’t perform that action at this time.
0 commit comments