golem-slate
golem 

所属分类:collect
开发工具:SCSS
文件大小:0KB
下载次数:0
上传日期:2021-03-15 00:52:45
上 传 者sh-1993
说明:  golpen web服务器的工作报告,
(Working repo for golpen web server,)

文件列表:
.DS_Store (6148, 2021-02-20)
LICENSE.txt (11357, 2021-02-20)
app.js (2346, 2021-02-20)
assets/ (0, 2021-02-20)
assets/.DS_Store (6148, 2021-02-20)
assets/css/ (0, 2021-02-20)
assets/css/.DS_Store (6148, 2021-02-20)
assets/css/imports/ (0, 2021-02-20)
assets/css/imports/_editor.scss (5102, 2021-02-20)
assets/css/imports/_filelist.scss (2219, 2021-02-20)
assets/css/imports/_form-elements.scss (6810, 2021-02-20)
assets/css/imports/_golpen-ui.scss (6220, 2021-02-20)
assets/css/imports/_html.scss (979, 2021-02-20)
assets/css/imports/_normalize.scss (6883, 2021-02-20)
assets/css/imports/_top-nav.scss (1140, 2021-02-20)
assets/css/imports/_variables.scss (2465, 2021-02-20)
assets/css/imports/bootstrap/ (0, 2021-02-20)
assets/css/imports/bootstrap/_breakpoints.scss (4469, 2021-02-20)
assets/css/imports/bootstrap/_functions.scss (1267, 2021-02-20)
assets/css/imports/bootstrap/_grid-items.scss (715, 2021-02-20)
assets/css/imports/bootstrap/_variables.scss (370, 2021-02-20)
assets/css/style.scss (267, 2021-02-20)
bin/ (0, 2021-02-20)
bin/www (1592, 2021-02-20)
files/ (0, 2021-02-20)
files/crypto.ts (3131, 2021-02-20)
files/index.ts (861, 2021-02-20)
golem-slate demo.mkv (13235844, 2021-02-20)
golem-slate.pdf (969228, 2021-02-20)
package-lock.json (132412, 2021-02-20)
package.json (835, 2021-02-20)
pens/ (0, 2021-02-20)
pens/Docker/ (0, 2021-02-20)
pens/Docker/Dockerfile (770, 2021-02-20)
pens/create.sh (52, 2021-02-20)
pens/createPen.sh (590, 2021-02-20)
pens/remove.sh (52, 2021-02-20)
... ...

# golem SLATE ## Summary ## SLATE is a code pen for writing a requester script to have work computed by the golem network. SLATE is an SPA that utilizes dockerized yagna environments to communicate with the golem network. There is no need to setup the yagna daemon, prepare a Python or NodeJS development environment, write a full requester script, or even stay online while the requester is running! The user only needs to provide 3 things: * The hash for the desired gvmkit image * A function to enumerate the tasks * A function to process each task The user may upload files for use in the requester script, and the user may download files returned from the golem worker. [Demo Video](https://youtu.be/P7bNvsRU7P0) *Link to the hosted copy shared with a member of the golem comms team* ## Use ## Click the `Create a new SLATE` button to prepare a new working environment. If there are any slots open you will be taken to a new page. If not, try again later! The new slate is created with the standard blender example prepared. You can view the code for it in the `codepen_import.ts` file. You may create your own script by implementing the `CodePenParams` class in the same way the blender example has done. You may also upload files into your slate and reference them in your script. **You may need to wait a few seconds for the yagna daemon to initialize. You may view yagna.log in slate to ensure it is running before clicking `Run`** You may also choose to make no changes, and simply click `Run` to send the request to the network. The output area will show the progress of running the request. Any files downloaded from the golem network by your request will be shown in the file list. ## Set-Up ## ### Back-end Setup ### * cd into the pens directory * Build the docker image: > docker build -t golem-slate Docker * Create 10 pens > ./create.sh * Start 10 pens > ./start.sh * Run the front-end web application (For more information about the back-end see pens/README.MD) ### Front-end Setup ### * from the main directory > npm install > npm run start open your browser and go to: http://localhost:3000/ ## Known Limitations ## * slates are currently not recycled. This means the slots will fill up and need to be manually reset before new ones can be created. * the golem Alpha III network only allows requests to run for 30 minutes. ## Planned Features ## * Support for Python and JavaScript slates * Support for installing extra packages * Support for reading & writing files from: * HTTPS * WebDAV * S3 * IPFS * Persistent workspaces

近期下载者

相关文件


收藏者