Update .drone.yml + update README.md
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Eric NGUYEN 2022-08-03 16:41:26 +02:00
parent 85169f198e
commit a95e76865c
2 changed files with 16 additions and 7 deletions

View file

@ -7,9 +7,7 @@ steps:
image: node:16
commands:
- curl https://bun.sh/install | bash
- export BUN_INSTALL="$HOME/.bun"
- export PATH="$BUN_INSTALL/bin:$PATH"
- bun run ../test-server.js
- node ./test-server/node-http.js &
- npm install
- npm test
@ -22,8 +20,6 @@ steps:
image: node
commands:
- curl https://bun.sh/install | bash
- export BUN_INSTALL="$HOME/.bun"
- export PATH="$BUN_INSTALL/bin:$PATH"
- bun run ../test-server.js
- node ./test-server/node-http.js &
- npm install
- npm test

View file

@ -19,6 +19,19 @@ Run `npm run dev`
This program fetch the data structure from others application, allowing it to assemble them later.
### With NodeJS
```bash
node run ./test-server/node-http.js
```
The web server will be running at `http://localhost:5000`
Configure the file `.env.development` with the url
### With bun
Install `bun`
Inside `test-server` folder, run :
@ -27,7 +40,7 @@ Inside `test-server` folder, run :
bun run http.js
```
The web server will be running at localhost:5000
The web server will be running at `http://localhost:5000`
Configure the file `.env.development` with the url