User Tools

Site Tools


software_installation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
software_installation [2025/12/28 03:48] robynsoftware_installation [2025/12/29 19:55] (current) robyn
Line 15: Line 15:
   * CNTL X, Y, <enter> to save.   * CNTL X, Y, <enter> to save.
  
-  * From your home directory, type ''mkdir avadroid'', then, ''cd avadroid''. now, type, ''mkdir <name of your AvaDroid>'', example: "mkdir cath", cd into this directory, example "cd cath" (Without the quotation marks). \\ \\ +  * From your home directory, type ''mkdir avadroid'', then, ''cd avadroid''. now, type, ''mkdir <name of your AvaDroid>'', example: "mkdir cath", cd into this directory, example "cd cath" (Without the quotation marks).  \\ \\ 
   * You should now be in the directory ''avadroid\<Name>\''  \\ Example avadroid\cath\ \\ \\    * You should now be in the directory ''avadroid\<Name>\''  \\ Example avadroid\cath\ \\ \\ 
-  * Next with your favourite editor, on linux I use Nano, create to edit a file called "compose.yml" \\ Example ''nano compose.yml'' \\ \\ +  * Next type ''mkdir bot'' \\ \\ 
 +  * Then with your favourite editor, on linux I use Nano, create to edit a file called "compose.yml" \\ Example ''nano compose.yml'' \\ \\ 
   * Cut and Paste the below: <code yaml> services:   * Cut and Paste the below: <code yaml> services:
   corrade:   corrade:
Line 61: Line 62:
 </code><code yaml>ports: </code><code yaml>ports:
       - "18001:5001" </code>       - "18001:5001" </code>
-  * The number to the left is the "exposed port", it is what the outside world sees. Each AvaDroid need unique port allocations. The number to the right is the internal port allocation, NEVER change this. \\ \\ 54377 is Corrades Nucleus Web interface. \\ 1883 is Corrades MQTT server, this is used for AvaDroid to talk to Corrade. \\ 5001 is AvaDroids Web Gui interface. \\ \\ I have mapped them 19001, 17001 and 18001 respectfully. The next AvaDroid will be 19002, 17002 and 18002. If you are going to have many AvaDroids,it may be a good idea to make a spreadsheet with Name, Nucleus, MQTT, GUI columns to keep track. Of course you can make up your own numbering plan or follow along with mine. \\ \\+  * The number to the left is the "exposed port", it is what the outside world sees. Each AvaDroid needs unique port allocations. The number to the right is the internal port allocation, NEVER change this. \\ \\ 54377 is Corrades Nucleus Web interface. \\ 1883 is Corrades MQTT server, this is used for AvaDroid to talk to Corrade. \\ 5001 is AvaDroids Web Gui interface. \\ \\ I have mapped them 19001, 17001 and 18001 respectfully. The next AvaDroid will be 19002, 17002 and 18002. If you are going to have many AvaDroids,it may be a good idea to make a spreadsheet with Name, Nucleus, MQTT, GUI columns to keep track. Of course you can make up your own numbering plan or follow along with mine. \\ \\
   * Once you are happy with the compose.yml edits, in nano at least, CNTL X, Y, <enter> to save. \\ \\   * Once you are happy with the compose.yml edits, in nano at least, CNTL X, Y, <enter> to save. \\ \\
   * Next, to create the containers.  \\ \\    * Next, to create the containers.  \\ \\ 
   * Copy and paste ''docker compose up -d'', wait for the images to pull down and the containers to start. \\ \\    * Copy and paste ''docker compose up -d'', wait for the images to pull down and the containers to start. \\ \\ 
   * At this point the AvaDroid container is failing as Corrade is not configured. You can stop the AvaDroid container with ''docker stop <name>-avadroid''   * At this point the AvaDroid container is failing as Corrade is not configured. You can stop the AvaDroid container with ''docker stop <name>-avadroid''
 +
 +Next Step, Configure [[corrade_configure|Corrade]].
software_installation.1766922480.txt.gz · Last modified: by robyn