File tree 2 files changed +4
-1
lines changed
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ Generates the endpoints (or a whole app) from a mapping (SQL query -> URL)
55
55
| Language | Commands to run the application |
56
56
| -----------| --------------------------------|
57
57
| JavaScript | <pre >$ npm install<br />$ export DB_NAME=my-db DB_USER=my-user DB_PASSWORD=my-password<br />$ npm start</pre > |
58
- | Golang | <pre >$ go run * .go</pre >or<pre >$ go build -o app<br />$ ./app</pre > |
58
+ | Golang | <pre >$ export DB_NAME=my-db DB_USER=my-user DB_PASSWORD=my-password< br />$ go run * .go</pre >or<pre >$ go build -o app<br />$ ./app</pre > |
59
59
| Python | <pre >$ pip install -r requirements.txt<br />$ export DB_NAME=my-db DB_USER=my-user DB_PASSWORD=my-password<br />$ uvicorn app: app </pre > |
60
60
61
61
---
Original file line number Diff line number Diff line change @@ -310,15 +310,18 @@ to install its dependencies and
310
310
afteward to run` ) ;
311
311
} else if ( lang === 'go' ) {
312
312
console . info ( `Use
313
+ export DB_NAME=db DB_USER=user DB_PASSWORD=secret
313
314
go run *.go
314
315
or
315
316
go build -o app
317
+ export DB_NAME=db DB_USER=user DB_PASSWORD=secret
316
318
./app
317
319
to build and run it` )
318
320
} else if ( lang === 'python' ) {
319
321
console . info ( `Use
320
322
pip install -r requirements.txt
321
323
to install its dependencies and
324
+ export DB_NAME=db DB_USER=user DB_PASSWORD=secret
322
325
uvicorn app:app
323
326
afteward to run` )
324
327
}
You can’t perform that action at this time.
0 commit comments