BatchExplorer/Readme.md

74 строки
3.0 KiB
Markdown
Исходник Обычный вид История

2016-12-02 22:13:25 +03:00
# BatchLabs
2016-12-02 22:34:09 +03:00
[![Build Status](https://travis-ci.org/Azure/BatchLabs.svg?branch=master)](https://travis-ci.org/Azure/BatchLabs)
[![codecov](https://codecov.io/gh/Azure/BatchLabs/branch/master/graph/badge.svg)](https://codecov.io/gh/Azure/BatchLabs)
2016-12-05 20:40:41 +03:00
**Note: BatchLabs is in beta.**
Batch Labs 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.
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.
BatchLabs is updated monthly with new features and bug fixes. You can download it for Windows, macOS, and Linux on [Batch Labs website](https://azure.github.io/BatchLabs/).
![](docs/images/job-home.png)
## Downloads
You can download the latest version at https://github.com/Azure/BatchLabs/releases
## Building batchlabs yourself
#### 1. Prerequisites
- **Install node.js version `8` or greater. [Download](https://nodejs.org/en/download/)**
- 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
#### 2. Clone the repo
- At stable branch `git clone -b stable https://github.com/Azure/BatchLabs`
- Or for the latest changes `git clone https://github.com/Azure/BatchLabs`
2016-12-02 22:08:53 +03:00
Move to the directory `cd BatchLabs`
#### 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
```bash
npm install
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
```
#### 4.5 Setup some configuration(Only in certain case)
If you didn't installed python in the path you will need to let batchlabs know where it is.
Set an environment variable called `BL_PYTHON_PATH` with that path to the python executable.
Batchlabs 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
#### 5. Build and run the application
```bash
# 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
```
## Feedback
* Request a new feature on [GitHub](https://github.com/Azure/BatchLabs/issues)
* Vote for popular [feature requests](https://github.com/Azure/BatchLabs/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/BatchLabs/issues)
## Developers
[Dev docs](docs/readme.md)
## License
Copyright (c) Microsoft Corporation. All rights reserved.
Batch labs is licensed under MIT [See license](LICENSE)
Some icons are under Creative Commons Attribution-ShareAlike 3.0 Unported [See license](app/assets/images/logos/LICENSE)