Source code for my gallery webpage. https://gallery.badmanners.xyz
Find a file
2024-04-02 22:48:48 -03:00
.vscode Initial commit 2024-03-20 00:56:57 -03:00
examples Add summary section to StoryLayout, some examples, and a few drafts directories 2024-03-28 23:56:25 -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 Add content to RSS feed items 2024-04-02 22:48:48 -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
LICENSE Add LICENSE 2024-03-27 22:28:20 -03:00
package-lock.json Add content to RSS feed items 2024-04-02 22:48:48 -03:00
package.json Add content to RSS feed items 2024-04-02 22:48:48 -03:00
README.md Add summary section to StoryLayout, some examples, and a few drafts directories 2024-03-28 23:56:25 -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

Requires libreoffice to be installed and in your path.

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/