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 02:16] robynsoftware_installation [2025/12/29 19:55] (current) robyn
Line 13: Line 13:
 export PGID=$(id -g)  export PGID=$(id -g) 
 </code> </code>
-  * CNTL X, Y 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'' \\ \\ 
-  * Cut and Paste the below: <code yml>services:+  * 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:
   corrade:   corrade:
     image: wizardrysteamworks/corrade     image: wizardrysteamworks/corrade
Line 55: Line 56:
  
   * We have to edit this file to suit your system. \\    * We have to edit this file to suit your system. \\ 
-  * First: Where you see anne replace anne with the name of your AvaDroid, Example if your Avadroid is named "fred" change: \\ \\ container_name: anne-corrade to container_name: fred-corrade \\ \\ container_name: anne-avadroid to container_name: fred-avadroid \\ \\ - anne-net to - fred-net+  * First: Where you see anne replace anne with the name of your AvaDroid, Example if your Avadroid is named "fred" change: \\ \\ container_name: anne-corrade to container_name: fred-corrade \\ container_name: anne-avadroid to container_name: fred-avadroid \\ - anne-net to - fred-net (3 locations) \\ \\  
 +  * Next: Port redirections. in <code yaml> ports: 
 +      - "19001:54377" 
 +      - "17001:1883" 
 +</code><code yaml>ports: 
 +      - "18001:5001" </code> 
 +  * 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. \\ \\ 
 +  * Next, to create the containers.  \\ \\  
 +  * 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'' 
 + 
 +Next Step, Configure [[corrade_configure|Corrade]].
software_installation.1766917004.txt.gz · Last modified: by robyn