Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
/tiny-stackPublic template

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

Repository files navigation

thumbnail

A simple and tiny stack for building web applications usingAstro,SQLite, andLitestream.

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

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
  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

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
  1. Head tohttp://localhost:4321

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp