lavender.software landing page site
https://lavender.software
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
7 months ago | |
---|---|---|
build_src | 7 months ago | |
src | 7 months ago | |
templates | 7 months ago | |
.editorconfig | 1 year ago | |
.gitignore | 1 year ago | |
Cargo.lock | 1 year ago | |
Cargo.toml | 1 year ago | |
LICENSE.md | 1 year ago | |
README.md | 1 year ago | |
build.rs | 1 year ago | |
nginx-site.conf | 1 year ago |
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.