Publishing

Now that we've written a code block, we need to publish it to codeblox.io so other users can view and run it.

First, create an account at https://codeblox.io/signup.

Now login and publish.

codeblox login
codeblox publish

You should now see your first block "count-characters" on your profile. Now, anyone can run your code and use it in sequences.

Ignore

The CLI will exclude any files or folders in a .codebloxignore file if it exists in the root directory. If that doesn't exist, .gitignore will be used.

These files and folders are always included:

  • node_modules
  • codeblox.js
  • codeblox.json

These files are never included:

  • .codebloxenv

results matching ""

    No results matching ""