1
0
mirror of https://github.com/oceanprotocol/webtasks synced 2025-01-08 21:04:03 +01:00

dev instruction fixes

This commit is contained in:
Matthias Kretschmann 2018-03-21 13:16:55 +01:00
parent b03d2cbe0e
commit 818e713eed
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -1,6 +1,6 @@
# Webtasks
> Ocean Protocol's webtasks doing automatic things for us via webtask.io
> 🐬 Ocean Protocol's webtasks doing automatic things for us via webtask.io
![giphy](https://user-images.githubusercontent.com/90316/37671913-0eb2f70a-2c6d-11e8-809e-04d3b40ef1c9.gif)
@ -14,7 +14,7 @@
Requires the Medium username appended at the end of the url, e.g. locally:
```
http://localhost:4000/MEDIUM_USERNAME
http://localhost:8080/MEDIUM_USERNAME
```
When published as a web task, append the taskname followed by the Medium username at the end:
@ -30,7 +30,7 @@ https://TASK_URL/TASK_NAME/MEDIUM_USERNAME
Construct your request url like so, e.g. locally:
```
http://localhost:4000/YOUTUBE_PLAYLIST_ID/YOUTUBE_API_KEY
http://localhost:8080/YOUTUBE_PLAYLIST_ID/YOUTUBE_API_KEY
```
Add the task name when published on webtask.io:
@ -46,6 +46,8 @@ npm install wt-cli -g
npm start
```
And go to [localhost:8080](http://localhost:8080)
## Deployment
All tasks are running serverless on webtask.io where you can login with your GitHub account. Then interact with it locally with the `wt-cli`:
@ -63,7 +65,7 @@ wt ls
## Authors
- Matthias Kretschmann ([@kremalicious](https://github.com/kremalicious)) - [BigchainDB](https://www.bigchaindb.com) & [Ocean Protocol](https://oceanprotocol.com)
- initial Medium web task by [@pedrouid](https://github.com/pedrouid)
- initial Medium web task by Pedro Gomes ([@pedrouid](https://github.com/pedrouid)) - [Balance](https://balance.io)
## License