0
0
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:
MohammadHasan Akbari 2024-01-28 17:02:51 +03:30 committed by GitHub
parent 8ad3b61bb4
commit 4031fa8937
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 28 additions and 0 deletions

View File

@ -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

View 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

View File

@ -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
```