File tree Expand file tree Collapse 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 Expand file tree Collapse file tree 7 files changed +14
-7
lines changed Original file line number Diff line number Diff line change 1919)
2020logger = logging .getLogger (__name__ )
2121logger .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')`.
2224load_dotenv ()
23- load_dotenv (".env.localnet" )
2425root_path = Path (__file__ ).parent
2526
2627
Original file line number Diff line number Diff line change 1212)
1313logger = logging .getLogger (__name__ )
1414logger .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')`.
1517load_dotenv ()
16- load_dotenv (".env.localnet" )
1718root_path = Path (__file__ ).parent
1819
1920
Original file line number Diff line number Diff line change 1919)
2020logger = logging .getLogger (__name__ )
2121logger .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')`.
2224load_dotenv ()
23- load_dotenv (".env.localnet" )
2425root_path = Path (__file__ ).parent
2526
2627
Original file line number Diff line number Diff line change 1212)
1313logger = logging .getLogger (__name__ )
1414logger .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')`.
1517load_dotenv ()
16- load_dotenv (".env.localnet" )
1718root_path = Path (__file__ ).parent
1819
1920
Original file line number Diff line number Diff line change 1919)
2020logger = logging .getLogger (__name__ )
2121logger .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')`.
2224load_dotenv ()
23- load_dotenv (".env.localnet" )
2425root_path = Path (__file__ ).parent
2526
2627
Original file line number Diff line number Diff line change 1919)
2020logger = logging .getLogger (__name__ )
2121logger .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')`.
2224load_dotenv ()
23- load_dotenv (".env.localnet" )
2425root_path = Path (__file__ ).parent
2526
2627
Original file line number Diff line number Diff line change @@ -21,8 +21,9 @@ logging.basicConfig(
2121)
2222logger = logging.getLogger(__name__)
2323logger.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')`.
2426load_dotenv()
25- load_dotenv(".env.localnet")
2627root_path = Path(__file__).parent
2728
2829
You can’t perform that action at this time.
0 commit comments