File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
tools/sdp-setup/internal/config Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -149,6 +149,14 @@ go run main.go serve \
149149 --database-url " postgres://postgres@localhost:5432/sdp_mtn?sslmode=disable"
150150```
151151
152+ You can also run the TSS by using the ` tss ` command instead of ` serve ` .
153+
154+ ``` sh
155+ go run main.go tss \
156+ --env-file ./dev/.env.https-testnet \
157+ --database-url " postgres://postgres@localhost:5432/sdp_mtn?sslmode=disable"
158+ ```
159+
152160** Important Notes:**
153161- Use ` --env-file ` to specify which configuration to load (e.g., ` ./dev/.env.https-testnet ` )
154162- Override ` --database-url ` to use ` localhost:5432 ` instead of ` db:5432 ` (Docker hostname)
Original file line number Diff line number Diff line change @@ -261,6 +261,8 @@ func Write(cfg Config, path string) error {
261261
262262 if exampleMap , err := godotenv .Read (examplePath ); err == nil {
263263 finalMap = exampleMap
264+ } else {
265+ fmt .Printf ("Note: Could not load %s, generating minimal config\n " , examplePath )
264266 }
265267
266268 // 3. Override with our configuration values
You can’t perform that action at this time.
0 commit comments