<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.idempiere.org/w-en/index.php?action=history&amp;feed=atom&amp;title=HowTo%3A_Run_Docusaurus_With_Incus</id>
	<title>HowTo: Run Docusaurus With Incus - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.idempiere.org/w-en/index.php?action=history&amp;feed=atom&amp;title=HowTo%3A_Run_Docusaurus_With_Incus"/>
	<link rel="alternate" type="text/html" href="https://wiki.idempiere.org/w-en/index.php?title=HowTo:_Run_Docusaurus_With_Incus&amp;action=history"/>
	<updated>2026-10-01T00:12:02Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.2</generator>
	<entry>
		<id>https://wiki.idempiere.org/w-en/index.php?title=HowTo:_Run_Docusaurus_With_Incus&amp;diff=23505&amp;oldid=prev</id>
		<title>CarlosRuiz: categorize</title>
		<link rel="alternate" type="text/html" href="https://wiki.idempiere.org/w-en/index.php?title=HowTo:_Run_Docusaurus_With_Incus&amp;diff=23505&amp;oldid=prev"/>
		<updated>2025-09-15T15:41:35Z</updated>

		<summary type="html">&lt;p&gt;categorize&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:41, 15 September 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l72&quot; &gt;Line 72:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 72:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;and you can delete the mint image with:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;and you can delete the mint image with:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  incus image delete 16da9870be86&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  incus image delete 16da9870be86&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:HowTo-Technical]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key idempiere-en-:diff::1.12:old-23499:rev-23505 --&gt;
&lt;/table&gt;</summary>
		<author><name>CarlosRuiz</name></author>
	</entry>
	<entry>
		<id>https://wiki.idempiere.org/w-en/index.php?title=HowTo:_Run_Docusaurus_With_Incus&amp;diff=23499&amp;oldid=prev</id>
		<title>CarlosRuiz at 19:37, 29 August 2025</title>
		<link rel="alternate" type="text/html" href="https://wiki.idempiere.org/w-en/index.php?title=HowTo:_Run_Docusaurus_With_Incus&amp;diff=23499&amp;oldid=prev"/>
		<updated>2025-08-29T19:37:54Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:37, 29 August 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l44&quot; &gt;Line 44:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 44:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  cd /home/carlos/gitIdempiere/idempiere-rest-docs&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  cd /home/carlos/gitIdempiere/idempiere-rest-docs&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  npm install&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  npm install&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  npm start&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  npm start &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;-- --host 0.0.0.0&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;At this point you can navigate to http://localhost:3000/idempiere-rest-docs/ and you must be able to see the docusaurus pages.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;At this point you can navigate to http://localhost:3000/idempiere-rest-docs/ and you must be able to see the docusaurus pages.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>CarlosRuiz</name></author>
	</entry>
	<entry>
		<id>https://wiki.idempiere.org/w-en/index.php?title=HowTo:_Run_Docusaurus_With_Incus&amp;diff=23498&amp;oldid=prev</id>
		<title>CarlosRuiz: Document</title>
		<link rel="alternate" type="text/html" href="https://wiki.idempiere.org/w-en/index.php?title=HowTo:_Run_Docusaurus_With_Incus&amp;diff=23498&amp;oldid=prev"/>
		<updated>2025-08-29T19:36:31Z</updated>

		<summary type="html">&lt;p&gt;Document&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''NEED''': I had the need to run docusaurus in my laptop, but I didn't want to install npm locally&lt;br /&gt;
&lt;br /&gt;
'''SOLUTION''': Use an incus server to run docusaurus and be able to see the output locally&lt;br /&gt;
&lt;br /&gt;
'''ASSUMPTIONS''':&lt;br /&gt;
&lt;br /&gt;
* I'm running a linux mint server (these instructions must be the same for ubuntu)&lt;br /&gt;
&lt;br /&gt;
* I cloned the repository https://github.com/bxservice/idempiere-rest-docs into my folder /home/carlos/gitIdempiere/idempiere-rest-docs like this&lt;br /&gt;
 cd /home/carlos/gitIdempiere&lt;br /&gt;
 git clone git@github.com:bxservice/idempiere-rest-docs&lt;br /&gt;
&lt;br /&gt;
So, these are the instructions that I needed to run docusaurus within an incus instance:&lt;br /&gt;
&lt;br /&gt;
Of course the first is to install incus:&lt;br /&gt;
 sudo apt-get install incus&lt;br /&gt;
&lt;br /&gt;
Then I needed to execute these two instructions because I have docker also installed in my system (they are probably not needed if you don't have docker):&lt;br /&gt;
 sudo iptables -I DOCKER-USER -i incusbr0 -j ACCEPT&lt;br /&gt;
 sudo iptables -I DOCKER-USER -o incusbr0 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT&lt;br /&gt;
&lt;br /&gt;
Then launch an image server to run docusaurus within:&lt;br /&gt;
 incus launch images:mint/wilma/default docusaurus&lt;br /&gt;
&lt;br /&gt;
The following instruction associates the local folder to be the same in the incus server:&lt;br /&gt;
 incus config device add docusaurus idempiere-rest-docs disk source=/home/carlos/gitIdempiere/idempiere-rest-docs path=/home/carlos/gitIdempiere/idempiere-rest-docs shift=true&lt;br /&gt;
&lt;br /&gt;
And this instruction forward the port 3000 from docusaurus to my laptop:&lt;br /&gt;
 incus config device add docusaurus port3000 proxy listen=tcp:0.0.0.0:3000 connect=tcp:127.0.0.1:3000&lt;br /&gt;
&lt;br /&gt;
Then I log into the docusaurus mint server just created:&lt;br /&gt;
 incus exec docusaurus bash&lt;br /&gt;
&lt;br /&gt;
Within that server I needed to first to install curl:&lt;br /&gt;
 apt-get install -y curl&lt;br /&gt;
&lt;br /&gt;
And then as the ubuntu user run the instructions to install nodejs and execute docusaurus there:&lt;br /&gt;
 su - ubuntu&lt;br /&gt;
 curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash&lt;br /&gt;
 \. &amp;quot;$HOME/.nvm/nvm.sh&amp;quot;&lt;br /&gt;
 nvm install 22&lt;br /&gt;
 node -v # Should print &amp;quot;v22.19.0&amp;quot;.&lt;br /&gt;
 npm -v # Should print &amp;quot;10.9.3&amp;quot;.&lt;br /&gt;
 cd /home/carlos/gitIdempiere/idempiere-rest-docs&lt;br /&gt;
 npm install&lt;br /&gt;
 npm start&lt;br /&gt;
&lt;br /&gt;
At this point you can navigate to http://localhost:3000/idempiere-rest-docs/ and you must be able to see the docusaurus pages.&lt;br /&gt;
&lt;br /&gt;
'''CLEANUP'''&lt;br /&gt;
&lt;br /&gt;
At the end if you want to clean everything you installed you can push Control-C to stop the docusaurus, and then:&lt;br /&gt;
 exit&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
At this point you must be in your desktop, clean what you used:&lt;br /&gt;
 incus stop docusaurus&lt;br /&gt;
 incus delete docusaurus&lt;br /&gt;
&lt;br /&gt;
if you want also to remove the mint image:&lt;br /&gt;
 incus image list&lt;br /&gt;
&lt;br /&gt;
it must show something like&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre; overflow-x: auto;&amp;quot;&amp;gt;&lt;br /&gt;
+-------+--------------+--------+-------------------------------------+--------------+-----------+-----------+-----------------------+&lt;br /&gt;
| ALIAS | FINGERPRINT  | PUBLIC |             DESCRIPTION             | ARCHITECTURE |   TYPE    |   SIZE    |      UPLOAD DATE      |&lt;br /&gt;
+-------+--------------+--------+-------------------------------------+--------------+-----------+-----------+-----------------------+&lt;br /&gt;
|       | 16da9870be86 | no     | Mint wilma amd64 (20250829_08:51)   | x86_64       | CONTAINER | 132.56MiB | 2025/08/29 12:48 CEST |&lt;br /&gt;
+-------+--------------+--------+-------------------------------------+--------------+-----------+-----------+-----------------------+&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and you can delete the mint image with:&lt;br /&gt;
 incus image delete 16da9870be86&lt;/div&gt;</summary>
		<author><name>CarlosRuiz</name></author>
	</entry>
</feed>