lavender.software landing page site https://lavender.software
 
 
 
 
Go to file
Luna 4aafe2f6a4 Merge branch 'main' into patch/new-member-list 2022-03-05 21:06:08 +00:00
build_src Merge branch 'main' into patch/new-member-list 2022-03-05 21:06:08 +00:00
src Create version 2 of the webring 2022-03-05 20:20:02 +00:00
templates Update projects list 2022-03-05 15:47:33 +00:00
.editorconfig Convert line endings to LF 2022-03-05 14:41:57 +00:00
.gitignore Convert line endings to LF 2022-03-05 14:41:57 +00:00
Cargo.lock Auto-calculate subresource integrity for webring JS 2022-03-05 20:23:41 +00:00
Cargo.toml Auto-calculate subresource integrity for webring JS 2022-03-05 20:23:41 +00:00
LICENSE.md Convert line endings to LF 2022-03-05 14:41:57 +00:00
README.md Fix typo: 'th eone' -> 'the one' 2022-03-05 15:04:58 +00:00
build.rs Convert line endings to LF 2022-03-05 14:41:57 +00:00
nginx-site.conf Revert "The CORS header should cover the entire webring directory" 2022-03-05 20:28:54 +00:00

README.md

lavender.software

Static site generated using siru and hosted at lavender.software.

Setting Up

$ 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

Note: You don't need to do this unless you're the one deploying the site to the production environment.

$ # To set up, ensure that the 'dist' folder reflects the VPS
$ git clone 'root@lavender.software:/srv/http/lavender.software' dist
$
$ cargo run # Build the site
$ cd dist/
dist/ $ git add -A . && git commit -m "Deploying: $(date)"
dist/ $ git pull --rebase
dist/ $ git push
dist/ $ # Your changes should now be live at lavender.software

If deploying this site, you may also want to examine the sample nginx-site.conf file.