Skip to content
/ tiny-stack Public template
forked from Sh4yy/tiny-stack

A simple and tiny stack for building web applications using Astro, SQLite, and Litestream.

Notifications You must be signed in to change notification settings

NeilJS/tiny-stack

 
 

Repository files navigation

Tiny Stack

thumbnail

A simple and tiny stack for building web applications using Astro, SQLite, and Litestream.

Tutorial

Here is a thorough tutorial on the Tiny Stack.

Quick Start

  1. Build the Docker image
docker build -t tiny-stack .
  1. Set environment variables
export REPLICA_URL=https://<bucket_id>.r2.cloudflarestorage.com
export LITESTREAM_ACCESS_KEY_ID=access_key_id
export LITESTREAM_SECRET_ACCESS_KEY=secret_access_key
  1. 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
  1. Head to http://localhost:4321

About

A simple and tiny stack for building web applications using Astro, SQLite, and Litestream.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Astro 44.6%
  • Dockerfile 20.0%
  • TypeScript 17.7%
  • JavaScript 10.4%
  • Shell 7.3%