跳到主要内容
ArcBlock Community

Is GitHub repository cloud based? Integrating project into Arcblock ecosystem

Brain Titan
开发者
blocklet-serverdiscussion

Is Github repository cloud based? Just trying to understand how you bring that into the Arcblock ecosystem with Blocklet Studio/ Static Server, is it by syncing a Github Pages link of your project in Blocklet Studio to turn your GitHub project into a Blocklet? (After you generate a name, DID for the dApp, etc of course)…I saw there’s a button under “components” that said something like “upload local file”. Would that have to be from my local computer or a cloud based repository like GitHub would work with it?

2 条回复

wangshijun2年前

Please checkout https://docs.github.com/en/get-started/using-git/about-git to understand what is Git and GitHub.

From a technical perspective:

  • Blocklets created by ArcBlock are more like Git: an end-to-end solution for decentralized apps.
  • Services that run by ArcBlock look more like GitHub.

Back to your question:

  • GitHub or other similar services usually contain source code for web apps, you typically need to build a release from those source codes
  • Blocklets run in Blocklet Server are usually the outcome of the building process

So there is little difference between what you do when creating an app and what you need to do when running the app.

When creating the app you'd better have a version control practice, which is optional.

In Blocklet Server v1.16.28, you can compose the app on your local computer, and user Blocklet Studio + Blocklet Store to publish it to the world.

Brain Titan2年前(edited)

I think I kind of get what you mean. For Github, to build a release from those source codes, you’d use something like GitHub pages to display the applications on the web.

with Blocklet Server, if you made and run your blocklet there it will display as a Blocklet on the Server.

When you say it’s good to have an option control, you mean Github is recommended just for convenience/back ups, tracking iterations, etc? But not necessary to have, just good practice

When you say “In Blocklet Server v1.16.28, you can compose the app on your local computer, and user Blocklet Studio + Blocklet Store to publish it to the world.”, does this count for Blocklet Launcher? Since I don‘t have my own Blocklet Server, I remember we were talking and you were saying Blocklet Launcher supports this now too: https://community.arcblock.io/discussions/fc40e67d-e1eb-420e-b3ff-7b9815822ccc

Please feel free to correct me if I misunderstood😁 I have 2 html/css/javascript projects completely ready (got the index.html, style.css and script.js files stored locally on my computer, so if Blocklet Launcher allows, I can build a resource blocklet right now then publish them to Blocklet store). I also still have the AIGNE resource blocklet ready to go for posting on the store

回复