add .env.example, additional env var (#10)
This commit is contained in:
parent
050047fcd0
commit
17ad1e9d79
4
.env.example
Normal file
4
.env.example
Normal file
@ -0,0 +1,4 @@
|
||||
FEEDGEN_PORT=3000
|
||||
FEEDGEN_SQLITE_LOCATION=":memory:"
|
||||
FEEDGEN_SUBSCRIPTION_ENDPOINT="wss://bsky.social"
|
||||
FEEDGEN_SERVICE_DID="did:example:test"
|
@ -7,6 +7,7 @@ const run = async () => {
|
||||
port: maybeInt(process.env.FEEDGEN_PORT),
|
||||
sqliteLocation: maybeStr(process.env.FEEDGEN_SQLITE_LOCATION),
|
||||
subscriptionEndpoint: maybeStr(process.env.FEEDGEN_SUBSCRIPTION_ENDPOINT),
|
||||
serviceDid: maybeStr(process.env.FEEDGEN_SERVICE_DID),
|
||||
})
|
||||
await server.start()
|
||||
console.log(
|
||||
|
Loading…
Reference in New Issue
Block a user