From cef2e28b52d62ccd0efdc7cb0488db44e188e5dc Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Sun, 24 Dec 2023 15:58:30 +0800 Subject: [PATCH] docs: add docker install command --- website/src/pages/index.tsx | 12 ++++++++++-- website/tailwind.config.ts | 1 + 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/website/src/pages/index.tsx b/website/src/pages/index.tsx index 7b46637..64ceeeb 100644 --- a/website/src/pages/index.tsx +++ b/website/src/pages/index.tsx @@ -34,12 +34,20 @@ function HomepageHeader() { > Early Access */} - Visit Demo - + */} + +
+
+ wget + https://raw.githubusercontent.com/msgbyte/tianji/master/docker-compose.yml +
+
docker compose up -d
+
); diff --git a/website/tailwind.config.ts b/website/tailwind.config.ts index 985236c..36e3f66 100644 --- a/website/tailwind.config.ts +++ b/website/tailwind.config.ts @@ -13,6 +13,7 @@ const plugin: PluginCreator = (api) => { }; export default { + darkMode: ['class', '[data-theme="dark"]'], corePlugins: { preflight: false, },