2024-12-08 15:17:07 -05:00
|
|
|
# TonyBark.com
|
|
|
|
|
|
|
|
A small, self-hosted [WhiteWind](https://whtwnd.com/) blog, powered by [WhiteBreeze](https://github.com/hugeblank/whitebreeze).
|
2024-12-03 10:07:06 -08:00
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
2024-12-08 15:17:07 -05:00
|
|
|
*[Bun](https://bun.sh/) recommended.*
|
2024-12-03 10:46:06 -08:00
|
|
|
|
2024-12-08 15:17:07 -05:00
|
|
|
### Environment variables
|
2024-12-03 10:07:06 -08:00
|
|
|
|
2024-12-08 15:17:07 -05:00
|
|
|
Whether in development or production, you will need to change environment variables when working with WhiteBreeze.
|
2024-12-03 10:46:06 -08:00
|
|
|
|
2024-12-03 10:07:06 -08:00
|
|
|
```sh
|
|
|
|
PUBLIC_HANDLE="myhandle.bsky.social" # Your handle, or DID
|
|
|
|
PUBLIC_ABOUT="Welcome to my blog!" # Optional description of the kinds of posts you'll be making, or a greeting.
|
|
|
|
# PUBLIC_ABOUT Shows up under your Bluesky profile description in the profile card.
|
|
|
|
```
|
|
|
|
|
2024-12-08 15:17:07 -05:00
|
|
|
### Development
|
|
|
|
|
|
|
|
```sh
|
|
|
|
npm install
|
|
|
|
npm run dev
|
|
|
|
```
|
|
|
|
|
|
|
|
### Standalone
|
2024-12-03 10:46:06 -08:00
|
|
|
|
2024-12-03 10:07:06 -08:00
|
|
|
```
|
|
|
|
npm install
|
2024-12-03 10:10:54 -08:00
|
|
|
npm run build
|
|
|
|
node index.js
|
|
|
|
```
|
2024-12-03 10:46:06 -08:00
|
|
|
Put environment variables ahead of the last command, port can also be configured with `PORT`.
|
|
|
|
|
2024-12-08 15:17:07 -05:00
|
|
|
### Dockerized
|
|
|
|
|
2024-12-03 10:46:06 -08:00
|
|
|
Modify `docker-compose.yaml` and change the host port if necessary.
|
|
|
|
|
|
|
|
```
|
|
|
|
docker compose up
|
|
|
|
```
|