|
|
лет назад: 2 | |
|---|---|---|
| .. | ||
| cache | лет назад: 2 | |
| contents | лет назад: 2 | |
| controllers | лет назад: 2 | |
| db | лет назад: 2 | |
| layouts | лет назад: 2 | |
| migrations | лет назад: 2 | |
| partials | лет назад: 2 | |
| Makefile | лет назад: 2 | |
| README.md | лет назад: 2 | |
| appweb.conf | лет назад: 2 | |
| esp.json | лет назад: 2 | |
| expansive.json | лет назад: 2 | |
| pak.json | лет назад: 2 | |
| start.me | лет назад: 2 | |
This sample shows how to host an ESP application in Appweb.
This sample uses:
Notes:
This application was generated via:
mkdir esp-hosted cd esp-hosted pak init demo pak install esp-html-skeleton esp generate scaffold post title:string body:text expansive render
make build
make run
or
appweb -v
The server listens on port 8080 for HTTP traffic.
Browse to this home page for a welcome page:
http://localhost:8080/
Browse to this page for a simple blog post app
http://localhost:8080/post