-
Notifications
You must be signed in to change notification settings - Fork 69
Build Batch Explorer yourself
David Watrous edited this page Jan 28, 2022
·
4 revisions
- Install node.js version 16 or greater. Download**
- Install python 3.6 or higher
- Have a Visual Studio 2017+ installed
- Alternatively to 2. and 3. you can use
npm install -g windows-build-tools
You can view the steps the Azure DevOps CI has to setup the build:
- At stable branch
git clone -b stable https://github.com/Azure/BatchExplorer
- Or for the latest changes
git clone https://github.com/Azure/BatchExplorer
Move to the directory cd BatchExplorer
Call this command and it will check you have everything setup correctly and build the app.
.\scripts\install\install-windows
You can skip all the other steps
npm install
pip3 install -r python/requirements.txt
If Python isn't on your path, you will need to let Batch Explorer know where it is.
Set an environment variable called BL_PYTHON_PATH
with the path to the python executable.
Batch Explorer will first look to see if this environment variable is set. If it's not, it will try python3
and then python
to find an installation of python 3
# Make an executable, this will bundle all needed dependencies including node and python
npm run build-and-pack
# Manual
npm run build:prod
npm run electron:prod
# To debug errors
npm run build
npm run electron