2018-07-17 20:11:40 +03:00
# BatchExplorer
2018-07-27 00:30:28 +03:00
[![VSTS Build Status ](https://azurebatch.visualstudio.com/3426cbfe-4c9a-4da4-88df-70f025a77017/_apis/build/status/8 )](https://azurebatch.visualstudio.com/BatchExplorer/_build?definitionId=8)
2018-07-17 20:11:40 +03:00
[![Build Status ](https://travis-ci.org/Azure/BatchExplorer.svg?branch=master )](https://travis-ci.org/Azure/BatchExplorer)
[![codecov ](https://codecov.io/gh/Azure/BatchExplorer/branch/master/graph/badge.svg )](https://codecov.io/gh/Azure/BatchExplorer)
2016-12-05 20:40:41 +03:00
2018-07-17 20:11:40 +03:00
**Note: BatchExplorer is in preview.**
2017-05-22 21:11:09 +03:00
2018-07-17 20:11:40 +03:00
Batch Explorer is a tool to manage your Azure Batch accounts. The goal is to implement a great user experience that will help you debug, monitor and manage your pools, jobs and tasks.
2018-06-19 04:40:42 +03:00
It will also include experimental features such as `Batch Templates` in the aim to improve your Batch experience. We are open to any feedback, ideas and contributions you might have.
2017-05-22 21:11:09 +03:00
2018-07-17 20:11:40 +03:00
BatchExplorer is updated monthly with new features and bug fixes. You can download it for Windows, macOS, and Linux on [Batch Explorer website ](https://azure.github.io/BatchExplorer/ ).
2017-12-12 23:00:13 +03:00
2017-09-21 08:27:40 +03:00
![](docs/images/job-home.png)
## Downloads
2018-07-17 20:11:40 +03:00
You can download the latest version at https://github.com/Azure/BatchExplorer/releases
2017-09-21 08:27:40 +03:00
2018-07-17 20:11:40 +03:00
## Building BatchExplorer yourself
2017-03-23 01:04:03 +03:00
#### 1. Prerequisites
2018-07-03 02:40:49 +03:00
- **Install node.js version `8` or greater. [Download ](https://nodejs.org/en/download/ )**
2017-07-18 18:57:21 +03:00
- Install python **3.6** (doesn't need to be in the path if that breaks your environment)
2016-12-15 01:31:59 +03:00
2017-03-23 01:04:03 +03:00
#### 2. Clone the repo
2018-07-17 20:11:40 +03:00
- At stable branch `git clone -b stable https://github.com/Azure/BatchExplorer`
- Or for the latest changes `git clone https://github.com/Azure/BatchExplorer`
2016-12-02 22:08:53 +03:00
2018-07-17 20:11:40 +03:00
Move to the directory `cd BatchExplorer`
2017-08-17 00:38:39 +03:00
#### 3. Build the app with all in one command line(Windows only)
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**
#### 4. Install the dependencies
2017-03-28 00:12:36 +03:00
```bash
2018-07-03 02:40:49 +03:00
npm install
2017-07-28 18:57:51 +03:00
pip3 install -r python/requirements.txt # or pip if on windows or only have python 3.6 installed
2016-12-02 22:08:53 +03:00
```
2017-08-17 00:38:39 +03:00
#### 4.5 Setup some configuration(Only in certain case)
2018-07-17 20:11:40 +03:00
If you didn't installed python in the path you will need to let BatchExplorer know where it is.
2017-07-18 18:57:21 +03:00
Set an environment variable called `BL_PYTHON_PATH` with that path to the python executable.
2018-07-17 20:11:40 +03:00
BatchExplorer will look first to see if this environment variable is set if not try `python3` and then `python` to find an installation of python 3.6
2017-07-18 18:57:21 +03:00
2017-08-17 00:38:39 +03:00
#### 5. Build and run the application
2017-03-28 00:12:36 +03:00
```bash
2017-07-18 18:57:21 +03:00
# Make an executable, this will bundle all needed dependencies including node and python
2017-05-24 00:56:40 +03:00
npm run build-and-pack
# Manual
2017-03-22 18:22:30 +03:00
npm run build:prod
npm run electron:prod
# To debug errors
2016-12-16 21:42:19 +03:00
npm run build
npm run electron
```
2017-12-12 23:00:13 +03:00
## Feedback
2018-07-17 20:11:40 +03:00
* Request a new feature on [GitHub ](https://github.com/Azure/BatchExplorer/issues )
* Vote for popular [feature requests ](https://github.com/Azure/BatchExplorer/issues?utf8=%E2%9C%93&q=is%3Aopen+is%3Aissue+label%3Afeature+sort%3Areactions-%2B1-desc+ )
* File a bug on [GitHub ](https://github.com/Azure/BatchExplorer/issues )
2017-12-12 23:00:13 +03:00
2016-12-16 21:42:19 +03:00
## Developers
2017-01-27 03:10:28 +03:00
[Dev docs ](docs/readme.md )
2017-04-05 21:56:07 +03:00
## License
2017-12-12 23:00:13 +03:00
Copyright (c) Microsoft Corporation. All rights reserved.
2017-04-05 21:56:07 +03:00
2018-07-17 20:11:40 +03:00
Batch Explorer is licensed under MIT [See license ](LICENSE )
2017-04-05 21:56:07 +03:00
Some icons are under Creative Commons Attribution-ShareAlike 3.0 Unported [See license ](app/assets/images/logos/LICENSE )