mirror of
https://github.com/honojs/hono.git
synced 2024-11-21 18:18:57 +01:00
chore: add development environment (#2095)
* feat: add development environment * refactor: update README * refactor: update README and run yarn denoify * refactor: update CONTRIBUTING
This commit is contained in:
parent
8ad3b61bb4
commit
4031fa8937
@ -10,3 +10,5 @@ RUN curl -fsSL https://bun.sh/install | bash
|
|||||||
|
|
||||||
# Install Lagon
|
# Install Lagon
|
||||||
RUN yarn global add @lagon/cli esbuild
|
RUN yarn global add @lagon/cli esbuild
|
||||||
|
|
||||||
|
WORKDIR /hono
|
||||||
|
18
.devcontainer/docker-compose.yml
Normal file
18
.devcontainer/docker-compose.yml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
version: '3'
|
||||||
|
|
||||||
|
services:
|
||||||
|
hono:
|
||||||
|
build: .
|
||||||
|
container_name: hono
|
||||||
|
volumes:
|
||||||
|
- ../:/hono
|
||||||
|
networks:
|
||||||
|
- hono
|
||||||
|
command: bash
|
||||||
|
stdin_open: true
|
||||||
|
tty: true
|
||||||
|
restart: 'no'
|
||||||
|
|
||||||
|
networks:
|
||||||
|
hono:
|
||||||
|
driver: bridge
|
@ -36,3 +36,11 @@ It may be under the "honojs organization" and distributed in the `@honojs` names
|
|||||||
|
|
||||||
The monorepo "[honojs/middleware](https://github.com/honojs/middleware)" manages these middleware.
|
The monorepo "[honojs/middleware](https://github.com/honojs/middleware)" manages these middleware.
|
||||||
If you want to do it, create the issue about your middleware.
|
If you want to do it, create the issue about your middleware.
|
||||||
|
|
||||||
|
## Local Development
|
||||||
|
|
||||||
|
```
|
||||||
|
git clone git@github.com:honojs/hono.git && cd hono/.devcontainer && yarn install
|
||||||
|
docker compose up -d --build
|
||||||
|
docker compose exec hono bash
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user