Skip to content

docs: add starting guide#4101

Open
RafaelAPB wants to merge 2 commits intohyperledger-cacti:mainfrom
RafaelAPB:cleanup-docs-862/improve-docs
Open

docs: add starting guide#4101
RafaelAPB wants to merge 2 commits intohyperledger-cacti:mainfrom
RafaelAPB:cleanup-docs-862/improve-docs

Conversation

@RafaelAPB
Copy link
Contributor

@RafaelAPB RafaelAPB commented Feb 4, 2026

Pull Request Requirements

  • Rebased onto upstream/main branch and squashed into single commit to help maintainers review it more efficient and to avoid spaghetti git commit graphs that obfuscate which commit did exactly what change, when and, why.
  • Have git sign off at the end of commit message to avoid being marked red. You can add -s flag when using git commit command. You may refer to this link for more information.
  • Follow the Commit Linting specification. You may refer to this link for more information.

Character Limit

  • Pull Request Title and Commit Subject must not exceed 72 characters (including spaces and special characters).
  • Commit Message per line must not exceed 80 characters (including spaces and special characters).

A Must Read for Beginners
For rebasing and squashing, here's a must read guide for beginners.

Adds starting guide as per issue #862

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>
Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>
Copy link
Member

@AndreAugusto11 AndreAugusto11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is amazing! Thank you very much! Exactly what we need now, to work on the documentation and ease the process of starting to interact with Cacti

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RafaelAPB I would just suggest decreasing the font size wherever there are boxes on top of the letters

---
sequenceDiagram
participant App as Your App<br/>(Python/Java/Go)
participant API as Cacti API Server<br/>(Docker Container)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RafaelAPB I think all cacti components (api server, connector plugin, and keychain plugin) would be within a single Docker Container, right? In that case, the "(Docker Container)" should not be just in the "Cacti API Server". Let me know your thoughts

"@lerna-lite/version": "3.7.0",
"@openapitools/openapi-generator-cli": "2.13.1",
"@mermaid-js/mermaid-cli": "11.12.0",
"@openapitools/openapi-generator-cli": "2.7.0",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any reason to downgrade the version of "openapitools/openapi-generator-cli?

"watch": "run-p -r watch-*",
"build": "yarn build:dev && yarn build:prod",
"build:prod": "yarn build:prod:frontend",
"docs:diagrams": "mkdir -p docs/assets && echo 'Generating Getting Started guide diagrams (PNG)...' && bash -c 'for f in docs/docs/guides/diagrams/*.mmd; do name=$(basename \"$f\" .mmd); echo \" $name.png\"; mmdc -i \"$f\" -o \"docs/assets/$name.png\" -t default -b transparent -w 1920 -s 2; done' && echo 'All diagrams generated successfully'",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RafaelAPB I would suggest removing the duplicate directory in docs/docs/guides/diagrams

Comment on lines +10 to +13
- [Level 1: Connector as a Library](#level-1-connector-as-a-library-lowest-immersion)
- [Level 2: API Server with Plugins](#level-2-api-server-with-plugins-medium-immersion)
- [Level 3: Full Framework Integration](#level-3-full-framework-integration-highest-immersion)
- [Deciding Which Level is Right for You](#deciding-which-level-is-right-for-you)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is immersion the best way to describe this, maybe dept?

@AndreAugusto11, what do you think about this?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@LordKubaya, I think it's just the internal label to the section

| **Frontend** | `my-app-frontend/` - Your web UI | - |
| **Business Logic** | `my-app-business-logic-plugin/services/` | Plugin interface (`IPluginWebService`) |
| **REST Endpoints** | `my-app-business-logic-plugin/web-services/` | Endpoint registration helpers |
| **Smart Contracts** | `contracts/` - Your Solidity/chaincode | - |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just call it chaincode, someone reading this for the first time will think that this is only for EVM-based ledgers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants