Update to Nix setup and remove SoFurry links
This commit is contained in:
parent
52de1f49ac
commit
56d6d2047f
12 changed files with 2948 additions and 1492 deletions
13
README.md
13
README.md
|
|
@ -17,15 +17,16 @@ For attributions, see [`licenses.toml`](src/data/licenses.toml).
|
|||
```bash
|
||||
git clone https://git.badmanners.xyz/badmanners/gallery.badmanners.xyz
|
||||
cd gallery.badmanners.xyz
|
||||
npm install
|
||||
direnv allow
|
||||
bun install
|
||||
```
|
||||
|
||||
### Local development
|
||||
|
||||
```bash
|
||||
npm run dev # Start development server (quit with Ctrl-C)
|
||||
npm run sync # Rebuild types from Astro config and src/content/ files
|
||||
npm run prettier # Prettier formatting
|
||||
bun dev # Start development server (quit with Ctrl-C)
|
||||
bun sync # Rebuild types from Astro config and src/content/ files
|
||||
bun prettier # Prettier formatting
|
||||
```
|
||||
|
||||
### Configuration
|
||||
|
|
@ -42,13 +43,13 @@ The following optional environment variables can be set within a `.env` file:
|
|||
Requires `libreoffice` to be installed and in your path.
|
||||
|
||||
```bash
|
||||
npm run export-story -- -o ~/Documents/TO_UPLOAD slug-for-story-to-export
|
||||
bun export-story -- -o ~/Documents/TO_UPLOAD slug-for-story-to-export
|
||||
```
|
||||
|
||||
### Build and deploy to remote
|
||||
|
||||
```bash
|
||||
npm run build
|
||||
bun run build
|
||||
```
|
||||
|
||||
Then, if you're using rsync, after configuring the `gallerybm` host (or the name of your choosing) in `~/.ssh/config`, you can use a command like:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue