No description
- Astro 85.4%
- TypeScript 6.8%
- Nix 4.9%
- CSS 2.5%
- JavaScript 0.4%
| .vscode | ||
| npins | ||
| public | ||
| src | ||
| .envrc | ||
| .gitignore | ||
| .prettierignore | ||
| .prettierrc.mjs | ||
| astro.config.mjs | ||
| LICENSE.md | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| shell.nix | ||
| tsconfig.json | ||
badmanners.xyz
Bad Manners's personal website, built using Astro + Typescript + TailwindCSS.
For attributions, see licenses.toml.
Requirements
- NodeJS
- (optional) rsync, for remote deployment.
Development
Setup
git clone https://git.badmanners.xyz/badmanners/badmanners.xyz
cd badmanners.xyz
direnv allow
npm install
Local development
npm run dev # Start development server (quit with Ctrl-C)
npm run sync # Rebuild types from Astro config
npm run prettier # Prettier formatting
Build and deploy to remote
npm run build
Then, if you're using rsync, after configuring the websitebm host (or the name of your choosing) in ~/.ssh/config, you can use a command like:
rsync --delete-after -acP dist/ websitebm:www