Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Latest commit

 

History

History
49 lines (41 loc) · 1.28 KB

fbot_README.md

File metadata and controls

49 lines (41 loc) · 1.28 KB

ThreeFold Farmerbot Deployment

We present a quick way to deploy the Farmerbot.

  • In the first section, we create the files and the folder structure for the Farmerbot.
  • In the second section, we download and run the Farmerbot.

Steps to Create the Files

  • Create the parent folder
    • cd ~
      
    • mkdir -p farmerbot_docker && cd "$_" || exit
      
      • Note: you can choose a different name for your parent folder
  • Download and run the file creator
    • Download the file creator
      • wget -O fbot_file_creator https://raw.githubusercontent.com/Mik-TF/farmerbot-script/main/fbot_file_creator
        
    • Set the permissions
      • chmod +x fbot_file_creator
        
    • Run the file creator
      • ./fbot_file_creator
        
    • Enter the values asked
    • The .env file is saved in the parent folder
    • The config.md file is saved in config within the parent folder

Steps to Run the Farmerbot

  • Install and run docker
  • To download the Farmerbot .yaml file, write the following
    • wget https://raw.githubusercontent.com/threefoldtech/farmerbot/development/docker-compose.yaml
      
  • To run the Farmerbot, write the following
    • docker compose up -d