Update .drone.yml + update README.md
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
85169f198e
commit
a95e76865c
2 changed files with 16 additions and 7 deletions
|
@ -7,9 +7,7 @@ steps:
|
||||||
image: node:16
|
image: node:16
|
||||||
commands:
|
commands:
|
||||||
- curl https://bun.sh/install | bash
|
- curl https://bun.sh/install | bash
|
||||||
- export BUN_INSTALL="$HOME/.bun"
|
- node ./test-server/node-http.js &
|
||||||
- export PATH="$BUN_INSTALL/bin:$PATH"
|
|
||||||
- bun run ../test-server.js
|
|
||||||
- npm install
|
- npm install
|
||||||
- npm test
|
- npm test
|
||||||
|
|
||||||
|
@ -22,8 +20,6 @@ steps:
|
||||||
image: node
|
image: node
|
||||||
commands:
|
commands:
|
||||||
- curl https://bun.sh/install | bash
|
- curl https://bun.sh/install | bash
|
||||||
- export BUN_INSTALL="$HOME/.bun"
|
- node ./test-server/node-http.js &
|
||||||
- export PATH="$BUN_INSTALL/bin:$PATH"
|
|
||||||
- bun run ../test-server.js
|
|
||||||
- npm install
|
- npm install
|
||||||
- npm test
|
- npm test
|
15
README.md
15
README.md
|
@ -19,6 +19,19 @@ Run `npm run dev`
|
||||||
|
|
||||||
This program fetch the data structure from others application, allowing it to assemble them later.
|
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`
|
Install `bun`
|
||||||
|
|
||||||
Inside `test-server` folder, run :
|
Inside `test-server` folder, run :
|
||||||
|
@ -27,7 +40,7 @@ Inside `test-server` folder, run :
|
||||||
bun run http.js
|
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
|
Configure the file `.env.development` with the url
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue