Source code for my gallery webpage. https://gallery.badmanners.xyz
Find a file
2024-03-27 22:24:08 -03:00
.vscode Initial commit 2024-03-20 00:56:57 -03:00
public Improve font loading and fix scripts 2024-03-20 21:47:52 -03:00
scripts Move exports/healthcheck to api path 2024-03-27 18:53:05 -03:00
src Move exports/healthcheck to api path 2024-03-27 18:53:05 -03:00
.gitignore Initial commit 2024-03-20 00:56:57 -03:00
.prettierignore Add Mastodon comments and remove date-fns dependency 2024-03-27 11:54:18 -03:00
.prettierrc.mjs Fix up first version and add Prettier and Docker 2024-03-20 11:34:09 -03:00
astro.config.mjs Improvements to types and age verification screen 2024-03-24 14:22:39 -03:00
package-lock.json Add Mastodon comments and remove date-fns dependency 2024-03-27 11:54:18 -03:00
package.json Version 1.0.0 2024-03-27 22:24:08 -03:00
README.md Version 1.0.0 2024-03-27 22:24:08 -03:00
tailwind.config.mjs Fix up first version and add Prettier and Docker 2024-03-20 11:34:09 -03:00
tsconfig.json Fix up first version and add Prettier and Docker 2024-03-20 11:34:09 -03:00

gallery.badmanners.xyz

Static website built in Astro + Typescript + TailwindCSS.

Development

Setup

git clone https://git.badmanners.xyz/badmanners/gallery.badmanners.xyz
cd git.badmanners.xyz
npm install

Local development

npm run dev             # Start development server (quit with Ctrl-C)
npm run astro -- sync   # Rebuild types from src/content/ files
npm run prettier        # Prettier formatting

Export story for upload

npm run export-story -- --output-dir ~/Documents/TO_UPLOAD slug-for-story-to-export

Build and deploy to remote

npm run build
scp -r ./dist/* my-ssh-server:./gallery.badmanners.xyz/