chore: update deploy script; update readme
This commit is contained in:
parent
0a89762a1d
commit
19eef07589
2 changed files with 23 additions and 3 deletions
24
README.md
24
README.md
|
@ -1,4 +1,24 @@
|
||||||
# Ayo Ayco Personal Website
|
# Astro SSG for my personal site
|
||||||
|
|
||||||
This is my personal website [ayco.io](https://ayco.io) built with [astro](https://astro.build).
|
## Background
|
||||||
|
This is the project for generating the static files for my personal site [ayo.ayco.io](https://ayo.ayco.io) built with [Astro SSG](https://astro.build).
|
||||||
|
|
||||||
|
## Development
|
||||||
|
```bash
|
||||||
|
# clone project
|
||||||
|
$ git clone git@git.sr.ht:~ayoayco/ayco.io-astro
|
||||||
|
|
||||||
|
# go into project dir
|
||||||
|
$ cd ./ayco.io-astro
|
||||||
|
|
||||||
|
# install deps
|
||||||
|
$ npm i
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
## Commands
|
||||||
|
| Command | Action |
|
||||||
|
| --- | --- |
|
||||||
|
| `npm start` | start dev server |
|
||||||
|
| `npm run build` | generate static files to `dist` directory |
|
||||||
|
| `npm run deploy` | run build and upload to my server |
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
"build": "astro build",
|
"build": "astro build",
|
||||||
"preview": "astro preview",
|
"preview": "astro preview",
|
||||||
"astro": "astro",
|
"astro": "astro",
|
||||||
"deploy": "astro build && scp -r dist/. ayo@ayco.io:~/ayco.io-astro/dist"
|
"deploy": "astro build && scp -r dist/. ayo@ayco.io:~/ayco.io-flask/dist"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astro-reactive/form": "^0.10.0",
|
"@astro-reactive/form": "^0.10.0",
|
||||||
|
|
Loading…
Reference in a new issue