webdog/site/pages/index.md

32 lines
704 B
Markdown
Raw Normal View History

2023-11-13 18:14:40 -08:00
---
extra:
name: resource-list-outside
2024-11-04 17:09:11 -08:00
template: extras/index-injection.tera
resource: blog
count: 3
2023-11-13 18:14:40 -08:00
---
2024-11-04 17:57:51 -08:00
# webdog
2021-08-17 09:59:34 -07:00
2024-11-04 17:57:51 -08:00
welcome to webdog, the static site generator fit for a dog :3
2022-11-08 10:31:58 -08:00
2024-11-08 19:40:18 -08:00
if you have [rust](https://rust-lang.org) installed, all you need to do to install webdog is run the following command:
```sh
cargo install webdog --git https://github.com/zyllian/webdog
```
then you can make your first webdog site!
```sh
webdog create https://example.com "My First Site!" --site my-site
2024-11-08 19:40:18 -08:00
cd my-site
webdog serve # your site is now running at http://127.0.0.1:8080 🥳
```
2024-11-11 19:10:06 -08:00
and from there, you can start editing your site and adding pages!
2024-11-08 19:40:18 -08:00
```sh
2024-11-08 19:40:18 -08:00
webdog page new my-first-page "My First Page"
2024-11-04 17:57:51 -08:00
```