chore: migrate hosting documentation from Appwrite to self-hosted
Update README.md and astro.config.mjs to reflect the migration from Appwrite to self-hosted infrastructure. Remove Appwrite-specific environment variable schema from Astro config. Add .clinerules and .cline to .gitignore.
This commit is contained in:
1 parent
d86f78fead
commit
ac545c4668
53 files changed
+4109
-5117
No files matched your search
+2
-22
@@ -1,4 +1,4 @@
|
||||
import { defineConfig, envField } from "astro/config"
|
||||
import { defineConfig } from "astro/config"
|
||||
import mdx from "@astrojs/mdx"
|
||||
import sitemap from "@astrojs/sitemap"
|
||||
import tailwind from "@astrojs/tailwind"
|
||||
@@ -10,25 +10,5 @@ export default defineConfig({
|
||||
site: "https://spaghet.io",
|
||||
integrations: [mdx(), sitemap(), solidJs(), tailwind({ applyBaseStyles: false })],
|
||||
output: "server",
|
||||
adapter: node({ mode: "ssr" }),
|
||||
env: {
|
||||
schema: {
|
||||
VITE_APPWRITE_ENDPOINT: envField.string({ context: "server", access: "public" }),
|
||||
VITE_APPWRITE_PROJECT_ID: envField.string({ context: "server", access: "public" }),
|
||||
VITE_APPWRITE_BUCKET_ID: envField.string({ context: "server", access: "public" }),
|
||||
VITE_APPWRITE_DATABASE_ID: envField.string({ context: "server", access: "public" }),
|
||||
VITE_APPWRITE_BLOG_COLLECTION_ID: envField.string({ context: "server", access: "public" }),
|
||||
VITE_APPWRITE_PROJECTS_COLLECTION_ID: envField.string({ context: "server", access: "public" }),
|
||||
VITE_APPWRITE_WORK_COLLECTION_ID: envField.string({ context: "server", access: "public" }),
|
||||
VITE_APPWRITE_LEGAL_COLLECTION_ID: envField.string({ context: "server", access: "public" }),
|
||||
PUBLIC_APPWRITE_ENDPOINT: envField.string({ context: "client", access: "public" }),
|
||||
PUBLIC_APPWRITE_PROJECT_ID: envField.string({ context: "client", access: "public" }),
|
||||
PUBLIC_APPWRITE_BUCKET_ID: envField.string({ context: "client", access: "public" }),
|
||||
PUBLIC_APPWRITE_DATABASE_ID: envField.string({ context: "client", access: "public" }),
|
||||
PUBLIC_APPWRITE_BLOG_COLLECTION_ID: envField.string({ context: "client", access: "public" }),
|
||||
PUBLIC_APPWRITE_PROJECTS_COLLECTION_ID: envField.string({ context: "client", access: "public" }),
|
||||
PUBLIC_APPWRITE_WORK_COLLECTION_ID: envField.string({ context: "client", access: "public" }),
|
||||
PUBLIC_APPWRITE_LEGAL_COLLECTION_ID: envField.string({ context: "client", access: "public" }),
|
||||
}
|
||||
}
|
||||
adapter: node({ mode: "ssr" })
|
||||
})
|
||||
Reference in new issue
Block a user