diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..0f3ddb3 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,22 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "npm install", + "command": "npm", + "type": "process", + "args": [ + "install" + ] + }, + { + "label": "npm dev", + "command": "npm", + "type": "process", + "args": [ + "run", + "dev" + ] + }, + ] +} \ No newline at end of file diff --git a/README.md b/README.md index c362015..1e48550 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ # TonyBark.com -A small, self-hosted [WhiteWind](https://whtwnd.com/) blog, powered by [WhiteBreeze](https://github.com/hugeblank/whitebreeze). +A small, self-hosted [WhiteWind](https://github.com/whtwnd/whitewind-blog) blog, powered by [WhiteBreeze](https://github.com/hugeblank/whitebreeze). ## Usage -*[Bun](https://bun.sh/) recommended.* +_[Bun](https://bun.sh/) recommended._ ### Environment variables @@ -30,6 +30,7 @@ npm install npm run build node index.js ``` + Put environment variables ahead of the last command, port can also be configured with `PORT`. ### Dockerized @@ -38,4 +39,4 @@ Modify `docker-compose.yaml` and change the host port if necessary. ``` docker compose up -``` \ No newline at end of file +``` diff --git a/package.json b/package.json index 5c7af39..a4d4d6b 100644 --- a/package.json +++ b/package.json @@ -41,4 +41,4 @@ "sanitize-html": "^2.13.1", "unified": "^11.0.5" } -} +} \ No newline at end of file