Skip to content

Commit af41548

Browse files
committed
server: Merge README.md
1 parent 4328647 commit af41548

File tree

3 files changed

+3
-21
lines changed

3 files changed

+3
-21
lines changed

README.md

+2-5
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,10 @@ pnpm fmt
2323
cd server
2424

2525
# Install server-side dependencies
26-
bundle
26+
bun install
2727

2828
# Start a server, See http://localhost:4567
29-
bundle exec run
30-
31-
# Start the server in production mode
32-
RACK_ENV=production bundle exec run
29+
bun dev
3330
```
3431

3532
 

server/README.md

-15
This file was deleted.

server/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Elysia } from "elysia";
22

3-
const app = new Elysia().get("/", () => "Hello Elysia").listen(3000);
3+
const app = new Elysia().get("/", () => "Hello Elysia").listen(4567);
44

55
console.log(
66
`🦊 Elysia is running at ${app.server?.hostname}:${app.server?.port}`

0 commit comments

Comments
 (0)