Skip to content

Latest commit

 

History

History
55 lines (39 loc) · 1.72 KB

README_MACOS_DEV_BUILD.md

File metadata and controls

55 lines (39 loc) · 1.72 KB

For Developers

This README will guide you on building a Docker container for agent execution as well as a desktop UI app. You may instead simply download the pre-built app

macOS

  1. Ensure you have Python, Pip, Docker Desktop, and Git installed. Note: please install python version 3.10.0+, older versions will produce outdated versions of tkinter when running the requirements install.

  2. Clone Repo

 $ git clone https://github.com/MorpheusAIs/moragents
 $ cd  moragents
  1. Build Docker Image for Local Agent Execution
For ARM (M1, M2, M3)
    $ docker-compose -f submodules/moragents_dockers/docker-compose-apple.yml up

For Intel (x86_64)
    $ docker-compose -f submodules/moragents_dockers/docker-compose.yml up
  1. Install Deps for UI, Recommended to use virtualenv
 $ python3 -m venv .venv
 $ . .venv/bin/activate
 $ pip install -r requirements.txt
  1. Build App for Local Installation
 $  pyinstaller --windowed --name="MORagents" --icon="images/moragents.icns" --osx-entitlements-file "build_assets/macOS/MORagents.entitlements" main.py
# If you have issues, try
python -m PyInstaller --windowed --name="MORagents" --icon="images/moragents.icns" --osx-entitlements-file "build_assets/macOS/MORagents.entitlements" main.py
  1. Install Application
  $ cp dist/MORagents.app /Applications
  1. Open the MORagents app on your Mac, Docker needs to be running before opening MORagents

--

Signing, Notarization, and Stapling for Distribution

Instructions are here.

--

Windows build instructions can be found here