forked from xinux/website
🐧 | New & Redesigned Wiki & Documentation website [maintainer=@xelopsys]
- MDX 51.5%
- JavaScript 23.2%
- CSS 18%
- Nix 7.3%
Reviewed-on: xinux/website#5 Reviewed-by: bahrom04 <bahrom04@noreply.git.oss.uzinfocom.uz> |
||
|---|---|---|
| .github/workflows | ||
| app | ||
| components | ||
| data | ||
| public | ||
| .envrc | ||
| .gitignore | ||
| .npmrc | ||
| default.nix | ||
| flake.lock | ||
| flake.nix | ||
| jsconfig.json | ||
| mdx-components.jsx | ||
| module.nix | ||
| next-sitemap.config.js | ||
| next.config.mjs | ||
| package-lock.json | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| postcss.config.js | ||
| README.md | ||
| shell.nix | ||
| styles.css | ||
xinux.uz
The official website of Xinux.
Local Development
With Nix (Xinux/NixOS or Nix package manager)
Make sure flakes are enabled (already enabled on Xinux). If not, add this to your configuration.nix or flake.nix:
nix.settings.experimental-features = [ "nix-command" "flakes" ];
Enter the dev shell (automatically runs pnpm install and sets up PATH):
nix develop
Start the dev server:
pnpm dev
The site will be available at http://localhost:3000.
Build the Nix package (produces a static export in ./result/ folder):
nix build
Without Nix
Install dependencies:
pnpm install
Start dev server:
pnpm dev
The site will be available at http://localhost:3000.
Build for production:
pnpm build
TODO: @orzklv keep identicity of posts before start-using-home-manager.nix