33 lines
809 B
Markdown
33 lines
809 B
Markdown
# lua-basic
|
|
|
|
```
|
|
fes new lua-basic
|
|
```
|
|
|
|
> **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). |