- Notifications
You must be signed in to change notification settings - Fork15
A simple and tiny stack for building web applications using Astro, SQLite, and Litestream.
License
NotificationsYou must be signed in to change notification settings
Sh4yy/tiny-stack
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A simple and tiny stack for building web applications usingAstro,SQLite, andLitestream.
Here is a thorough tutorial on the Tiny Stack.
- Build the Docker image
docker build -t tiny-stack.
- Set environment variables
Copy/paste the contents of.env.example
into a new.env
file and fill in the values, then run:
source .env
OR export individual variables:
export REPLICA_URL=https://<account_id>.r2.cloudflarestorage.comexport LITESTREAM_ACCESS_KEY_ID=access_key_idexport LITESTREAM_SECRET_ACCESS_KEY=secret_access_key
- Run the Docker image
docker run\ -p 4321:4321 \ -e REPLICA_URL \ -e LITESTREAM_ACCESS_KEY_ID \ -e LITESTREAM_SECRET_ACCESS_KEY \ -v$(pwd)/data:/data \ tiny-stack
The same command as a single line in case slashes are causing issues:
docker run -p 4321:4321 -e REPLICA_URL -e LITESTREAM_ACCESS_KEY_ID -e LITESTREAM_SECRET_ACCESS_KEY -v$(pwd)/data:/data tiny-stack
- Head tohttp://localhost:4321
About
A simple and tiny stack for building web applications using Astro, SQLite, and Litestream.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors3
Uh oh!
There was an error while loading.Please reload this page.