Some checks failed
CI — Chrome / Chrome — typecheck, test, build (pull_request) Has been cancelled
CI — CLI / CLI — typecheck, build, smoke (pull_request) Has been cancelled
CI — Website / Website — typecheck, build (pull_request) Has been cancelled
CI — VS Code / VS Code — typecheck, build (pull_request) Has been cancelled
- Implemented SiteHeader and SiteFooter components for consistent navigation and footer across the website. - Created CommunityPage and ContributePage to provide information on community involvement and contribution guidelines. - Developed DocsPage to serve as the main documentation hub, detailing features and installation instructions. - Added HomePage to introduce LexAI and its functionalities, highlighting key features and privacy aspects. - Established links.ts for centralized management of external links used throughout the website. - Configured main.tsx for application entry point with React Router for navigation. - Introduced styles.css for consistent styling across the website. - Set up TypeScript configuration files for improved type checking and development experience. - Configured Vite for building and serving the website.
1.7 KiB
1.7 KiB
LexAI website
Marketing site for the LexAI monorepo: Home, Docs, Contribute, Community.
Develop
# from repo root
npm run website:install
npm run website:dev
Or inside this package:
npm install
npm run dev
Build
npm run website:build
# → packages/website/dist/
Preview production build: npm run website:preview.
Uses HashRouter so the site works on static hosts without server-side rewrite rules.
Deploy on Coolify
This package is a static Vite build (dist/). No LexAI API keys or env vars.
- In Coolify: + New → Resource → Private Repository (with deploy key) (Gitea).
- Repo SSH URL, for example
git@git.juankibin.space:kibin/LexAI.git. If Gitea SSH is not on port 22, usessh://git@git.juankibin.space:PORT/kibin/LexAI.git(Coolify sometimes needsssh:///with three slashes). - Add Coolify’s public deploy key to the Gitea repo: Settings → Deploy / Access Keys (read-only).
- Branch:
devormain. - Build Pack: Nixpacks.
- Base Directory:
/packages/website— required. Rootnpm run buildbuilds Chrome, not this site. - Enable Is it a static site?
- Publish Directory:
/dist - Install command (if the build says
vite: not found):npm ci(do not omit devDependencies — Vite lives there). - Optional env:
NIXPACKS_NODE_VERSION=22 - Optional Watch Paths:
packages/websiteso Chrome/VS Code/CLI commits do not redeploy. - Set the domain, Deploy, then open
https://your-domain/#/docs.
Auto-deploy: Coolify resource → Webhooks → copy the URL + secret into Gitea Settings → Webhooks (push events).
Do not add LEXAI_API_KEY or any provider key to this Coolify app.