Improve index page and readme
This commit is contained in:
parent
f509544376
commit
a7a9c626e5
2 changed files with 24 additions and 0 deletions
22
README.md
22
README.md
|
@ -5,3 +5,25 @@ generator being deployed to Deno Deploy via GitHub Actions.
|
|||
|
||||
To learn more about static files on Deno Deploy, view this blog post:
|
||||
https://deno.com/blog/deploy-static-files
|
||||
|
||||
## Development
|
||||
|
||||
First, install [Lume][lume].
|
||||
|
||||
```shell
|
||||
deno run -A https://deno.land/x/lume/install.ts
|
||||
```
|
||||
|
||||
Then build the site:
|
||||
|
||||
```shell
|
||||
lume
|
||||
```
|
||||
|
||||
Then start the server:
|
||||
|
||||
```shell
|
||||
deno run -A server/main.ts
|
||||
```
|
||||
|
||||
[lume]: https://lumeland.github.io
|
||||
|
|
|
@ -9,5 +9,7 @@ title: Welcome to my page
|
|||
<body>
|
||||
<h1>{{ title }}</h1>
|
||||
<p>This is an example of a static site generated by <a href="https://lumeland.github.io/">Lume</a> on Deno Deploy.</p>
|
||||
<p>The <a href="/api/time">/api/time</a> endpoint dynamically returns the current time.</p>
|
||||
<p>You can find the source code for this site <a href="https://github.com/denoland/deploy_lume_example">on GitHub</a>.</p>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in a new issue