commit 617448c7ce5f27af58181116e36a365f7e39b579 Author: vx-clutch Date: Sun Mar 15 22:03:55 2026 -0400 first commit diff --git a/Fes.toml b/Fes.toml new file mode 100644 index 0000000..7438db8 --- /dev/null +++ b/Fes.toml @@ -0,0 +1,5 @@ +[app] + +name = "textbooks" +version = "0.0.1" +authors = ["vx-clutch"] \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..8490930 --- /dev/null +++ b/README.md @@ -0,0 +1,33 @@ +# textbooks + +``` +fes new textbooks +``` + +> **Know what you are doing?** Delete this file. Have fun! + +## Project Structure + +Inside your Fes project, you'll see the following directories and files: + +``` +. +├── Fes.toml +├── README.md +└── www + └── index.lua +``` + +Fes looks for `.lua` files in the `www/` directory. Each file is exposed as a route based on its file name. + +## Commands + +All commands are run from the root of the project, from a terminal: + +| Command | Action | +| :------------------------ | :----------------------------------------------- | +| `fes run .` | Runs the project at `.` | + +## What to learn more? + +Check out [Fes's docs](https://docs.vxserver.dev/static/fes.html). \ No newline at end of file diff --git a/www/index.lua b/www/index.lua new file mode 100644 index 0000000..d369c0e --- /dev/null +++ b/www/index.lua @@ -0,0 +1,8 @@ +local fes = require("fes") +local site = fes.fes() + +-- site.copyright = fes.util.copyright("https://example.com", "vx-clutch") + +site:h1("Hello, World!") + +return site \ No newline at end of file