generator
generator copied to clipboard
Offline installation of @asyncapi/generator
Reason/Context
We have a project that is running on a local private server. We provide services over ActiveMQ and we use AsyncAPI to generate ApiDocs. The problem is that we don't have internet access on our systems to generate ApiDocs.
Description
Is there any way you could provide the possibility to completely download @asyncapi/generator as a package and move it to another device that doesn't have internet access to install it using npm?
You can always install @asyncapi/generator
and @asyncapi/html-template
in local project, then copy everything (with node_modules
) to desired location (where you haven't internet) and try to generate by cli in node_modules/@asyncapi/generator/cli.js
like:
node node_modules/@asyncapi/generator/cli.js {YOUR_ASYNCAPI} node_modules/@asyncapi/html-template -o {OUTPUT} {PARAMETERS}
Other solution is using docker but without internet you need to fetch image of generator and somehow transfer it to a machine where you don't have internet
This issue has been automatically marked as stale because it has not had recent activity :sleeping:
It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.
There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.
Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.
Thank you for your patience :heart:
answer provided, no followup, closing