Created
November 10, 2023 12:46
-
-
Save psarna/ed090de04b15335eb8851e67bb815e24 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm prune --omit=dev | |
Zip -r nowplaying.zip . | |
aws lambda create-function --function-name nowplaying --zip-file \ | |
fileb://nowplaying.zip --handler index.handler --runtime nodejs18.x | |
aws lambda update-function-configuration --function-name nowplaying \ | |
--ephemeral-storage '{"Size": 10240}' | |
aws lambda update-function-configuration --function-name nowplaying \ | |
--environment "Variables={LIBSQL_SYNC_URL=$YOUR_DB_URL,LIBSQL_AUTH_TOKEN=$(turso db tokens create $YOUR_DB_NAME)}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment