forked from lavender-legacy/lavender.software
Add setup instructions to the README
parent
79a9d27e42
commit
1e235dd0d1
15
README.md
15
README.md
|
@ -2,8 +2,23 @@
|
||||||
|
|
||||||
Static site generated using [siru](https://github.com/videogame-hacker/siru) and hosted at [lavender.software](https://lavender.software/).
|
Static site generated using [siru](https://github.com/videogame-hacker/siru) and hosted at [lavender.software](https://lavender.software/).
|
||||||
|
|
||||||
|
## Setting Up
|
||||||
|
|
||||||
|
```shell
|
||||||
|
$ git clone 'git@lavender.software:lavender/lavender.software.git'
|
||||||
|
$ cd lavender.software/
|
||||||
|
lavender.software/ $ mkdir dist # or follow instructions in 'Deploying'
|
||||||
|
lavender.software/ $ cargo run
|
||||||
|
...
|
||||||
|
lavender.software/ $ # Built files are in dist/
|
||||||
|
```
|
||||||
|
|
||||||
|
You may want to `cd dist && python -m http.server` to get a local HTTP server.
|
||||||
|
|
||||||
## Deploying
|
## Deploying
|
||||||
|
|
||||||
|
**Note:** You don't need to do this unless you're th eone deploying the site to the production environment.
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ # To set up, ensure that the 'dist' folder reflects the VPS
|
$ # To set up, ensure that the 'dist' folder reflects the VPS
|
||||||
$ git clone 'root@lavender.software:/srv/http/lavender.software' dist
|
$ git clone 'root@lavender.software:/srv/http/lavender.software' dist
|
||||||
|
|
Loading…
Reference in New Issue