Skip to content

Latest commit

 

History

History
68 lines (44 loc) · 920 Bytes

how_to_build.md

File metadata and controls

68 lines (44 loc) · 920 Bytes

How to build

Linux

CD to where you want to clone the project

cd ~/PycharmProjects

Clone the repo

git clone https://github.com/jbexta/AgentPilot.git

CD to the project

cd AgentPilot

Activate a 3.10.11 virtual environment (I'm using pyenv)

pyenv install 3.10.11
pyenv virtualenv 3.10.11 agentpilotvenv
pyenv activate agentpilotvenv

Install dependencies

pip install -r requirements.txt

Install pyinstaller

pip install pyinstaller

Build the project

pyinstaller build.spec

This will create a dist folder in the project root directory. The executable will be in the dist folder.

Copy the database and avatars to the dist folder

cp data.db dist/data.db
cp -r docs/avatars dist/avatars

Test the executable

./dist/__main__

Create an appimage

...