Getting Started
Quickstart
Get Swush running in minutes.
This is the fastest path to a working Swush instance for local testing.
1) Clone + install
bun x degit imthatdev/swush
cd swush
bun install2) Configure env
cp example.env .envMinimum to update:
APP_NAMEAPP_URLSUPPORT_NAMESUPPORT_EMAILDATABASE_URLCORS_ORIGINBETTER_AUTH_URLBETTER_AUTH_SECRETSMTP_HOSTSMTP_PORTSMTP_USERSMTP_PASSSMTP_FROMSTORAGE_DRIVER(local or s3)UPLOAD_ROOT(if using local storage)S3_ENDPOINT(if using S3-compatible storage)S3_REGIONS3_BUCKETS3_ACCESS_KEY_IDS3_SECRET_ACCESS_KEYS3_FORCE_PATH_STYLE
3) Run migrations
bun push:db4) Build and Start the app
bun run buildbun startOpen http://localhost:3000 and complete the setup wizard.
Next steps
- Configure storage: Configuration → Storage
- Tune uploads: Configuration → Uploads
- Enable streaming: Configuration → Streaming
- Review security defaults: Configuration → Security