Skip to content

Commit

Permalink
Improve HN example docs
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann committed Jul 7, 2021
1 parent 4b25615 commit 71480bb
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion examples/hn.svelte.dev/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,22 @@ Hacker News clone built with [Svelte](https://svelte.dev) and [SvelteKit](https:

## Running locally

This example uses a locally built version of SvelteKit, so you'll first need to build the SvelteKit library by running the following from the SvelteKit root directory:

```bash
pnpm install
pnpm build
```

You can then build an run this example, which will be accessible at [localhost:3000](http://localhost:3000):

```bash
cd examples/hn.svelte.dev
pnpm install
pnpm dev
```

...then open [localhost:3000](http://localhost:3000). To build and start in prod mode:
To build and start in prod mode:

```bash
pnpm build
Expand Down

0 comments on commit 71480bb

Please sign in to comment.