Version 1.0.0
This commit is contained in:
parent
c8c5b64dc8
commit
d8164f54d7
2 changed files with 21 additions and 5 deletions
24
README.md
24
README.md
|
@ -1,16 +1,32 @@
|
||||||
# gallery.badmanners.xyz
|
# gallery.badmanners.xyz
|
||||||
|
|
||||||
|
Static website built in Astro + Typescript + TailwindCSS.
|
||||||
|
|
||||||
## Development
|
## 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
|
### Export story for upload
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm run export-story -- --output-dir ~/Documents/TO_UPLOAD slug-for-selected-story
|
npm run export-story -- --output-dir ~/Documents/TO_UPLOAD slug-for-story-to-export
|
||||||
```
|
```
|
||||||
|
|
||||||
## Deployment
|
### Build and deploy to remote
|
||||||
|
|
||||||
### Remote
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm run build
|
npm run build
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "gallery-badmanners-xyz",
|
"name": "gallery-badmanners-xyz",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "0.0.1",
|
"version": "1.0.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "astro dev",
|
"dev": "astro dev",
|
||||||
"start": "astro dev",
|
"start": "astro dev",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue