Skip to content

Commit 756c1e9

Browse files
authored
Add XDG config setting to our .env.example (#112)
* Add XDG config setting to our .env.example * Update gitignore to reflect config location and no longer ignoring .stellar as it is not created
1 parent 831ae51 commit 756c1e9

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.env.example

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1-
# The environment to use `development`, `testing`, `staging`, `production`
2-
STELLAR_SCAFFOLD_ENV=development
1+
# The environment to use `development`, `testing`, `staging`, `production`
2+
STELLAR_SCAFFOLD_ENV=development
3+
4+
# Location of the config files for this project for the scaffold stellar CLI.
5+
# Learn more at https://developers.stellar.org/docs/tools/cli/stellar-cli#stellar-config-dir
6+
XDG_CONFIG_HOME=".config"
37

48
# Prefix with "PUBLIC_" to make available in frontend files
59
# Which Stellar network to use in the frontend: local, testnet, futurenet, or mainnet

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# stellar/soroban/Rust output
22
target
33
.soroban
4-
.stellar
4+
5+
# project identity and alias files will be in .config/stellar
6+
.config
57

68
# test snapshot folders from sample contracts
79
test_snapshots

0 commit comments

Comments
 (0)