Skip to content
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

Resolve #63, improve .env imports on deploy scripts #64

Merged
merged 4 commits into from
Jan 12, 2024

Conversation

uri-99
Copy link
Collaborator

@uri-99 uri-99 commented Jan 8, 2024

This way of importing .env variables to a bash script is better because it has greater readability, it does not need to change its implementation across different OS , and it resolves variables from .env such as:
STARKNET_KEYSTORE=~/.starkli-wallets/keystore.json
to
/home/user/.starkli-wallets/keystore.json

This avoids deployment bugs, for example when users paste the keystore location with " ~/ ", which is greately used across our different tutorials

@rcatalan98 rcatalan98 merged commit 58fc219 into main Jan 12, 2024
@rcatalan98 rcatalan98 deleted the 63-improve-env-import branch January 12, 2024 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants