-
-
Notifications
You must be signed in to change notification settings - Fork 27
Install Miles On Windows
-
Install Chocolatey:
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
-
Restart PowerShell (Admin)
Nothing will work unless you do this. -
Install Python 3.11:
Set-ExecutionPolicy RemoteSigned
choco install python --version=3.11 -y
-
Install ffmpeg:
choco install ffmpeg
-
Create Virtual Environment:
Navigate to C Drive:cd C:\
Create
Miles-env
:python -m venv Miles-env
Navigate into
Miles-env
:cd Miles-env
-
Activate Virtual Environment:
.\Scripts\Activate
-
Install Git:
choco install git -y
-
Install Node.js and npm:
choco install nodejs -y
Restart your computer. NOTHING WILL WORK UNLESS YOU DO THIS.
After restarting, you'll need to reopen PowerShell as Admin, navigate back to your Miles-env
, and reactivate the virtual environment:
cd C:\Miles-env
.\Scripts\Activate
-
Clone the Repo:
git clone https://github.com/small-cactus/M.I.L.E.S.git
-
Run App:
Navigate and download dependencies one at a time, then run the app with npm:
cd C:\Miles-env\M.I.L.E.S\Miles-V2
Install requirements:
pip install -r requirements.txt
Install electron with:
npm install
Once those are all done installing, you can start the app with:
npm start
-
Project Config:
Follow on-screen instructions for setup. You will need:- OpenAI API key
- Other necessary details as prompted.
-
Open PowerShell as Admin
-
Navigate to Project Directory:
cd C:\Miles-env\M.I.L.E.S\Miles-V2
-
Activate Virtual Environment:
.\Scripts\Activate
-
Start Project with npm:
npm start
-
Open Control Panel:
Windows key + R, typecontrol
, press Enter. -
Navigate to Sound Settings:
Sound
>Recording
tab. -
Select and Adjust Your Microphone:
Properties >Advanced
tab > Select high-quality format. -
Apply Changes and Restart Miles.