-
Notifications
You must be signed in to change notification settings - Fork 233
Set up GitHub account for exporting node trees from Sverchok
Sverchok allows you to export your node tree setups to .json
file, to be imported again. If you want, you may share it by use of any pastebin service, or by use of github's gist service.
To share your node trees, Sverchok has a function to automatically post exported json
to gist.github.com service. This is a very nice and widely used feature, but since some time GitHub requires authentication for gist creation. Thus, to use this feature, you have to
- get GitHub account
- set up your GitHub account to enable automate gists creation
- set up Sverchok to tell it about your GitHub account.
To create GitHub account, press "Sign up for GitHub" at the https://github.com/ page. For more information about GitHub accounts, please visit GitHub Help.
To allow automated gists creation, you have to create a so-called "personal access token". For that, you have to navigate to your Personal Access Tokens settings. You may access the same page by going to GitHub settings page
then use the sidebar to go to "Developer Settings"
and then go to "Personal Access Tokens"
At that page, click "Generate new token" and allow the newly created token to create gists:
GitHub will provide you with a hexadecimal string (something like 0123ABCDE...
). Copy that string and store it safely.
To configure Sverchok to publish gists by use of your GitHub account:
- Launch Blender
- Go to Preferences (Edit -> Preferences) dialog and find Sverchok preferences under "Add-ons" section.
- In Sverchok preferences, specify your GitHub access token:
Now you should be able to export node tree setups to GitHub gist service by use of "Export to gist" button in the node editor's N panel.