34 lines
686 B
Markdown
34 lines
686 B
Markdown
# gallery.badmanners.xyz
|
|
|
|
Static website built in Astro + Typescript + TailwindCSS.
|
|
|
|
## Development
|
|
|
|
### Setup
|
|
|
|
```bash
|
|
git clone https://git.badmanners.xyz/badmanners/gallery.badmanners.xyz
|
|
cd git.badmanners.xyz
|
|
npm install
|
|
```
|
|
|
|
### Local development
|
|
|
|
```bash
|
|
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
|
|
|
|
```bash
|
|
npm run export-story -- --output-dir ~/Documents/TO_UPLOAD slug-for-story-to-export
|
|
```
|
|
|
|
### Build and deploy to remote
|
|
|
|
```bash
|
|
npm run build
|
|
scp -r ./dist/* my-ssh-server:./gallery.badmanners.xyz/
|
|
```
|