Skip to content

Instantly share code, notes, and snippets.

@merlinsbeard
Created March 7, 2018 08:38
Show Gist options
  • Select an option

  • Save merlinsbeard/73fdc9924c62ef2705d2bbd32a080130 to your computer and use it in GitHub Desktop.

Select an option

Save merlinsbeard/73fdc9924c62ef2705d2bbd32a080130 to your computer and use it in GitHub Desktop.

Introduction:

Prerequisite for Windows Server 2012

Needs to update the windows to install the KB2919355 windows update and install the Visual Studio Build Tools

vs2017

Check the Visual C++ build tools and make sure in the Optional Windows 10 SDK and Visual C++ tools for Cmake are checked.

Steps

C:\> python --version  
Python 3.6.4 
C:\> pip --version  
pip 9.0.1

If typing pip --version throws "'pip' is not recognized as an internal or external command". Include the path where you installed python and Script directory eg: C:\Python34\Scripts to your environment variable.

  • pip install numpy

Installing Environment Variables

Variable Default
CBCI_URL http://192.168.8.8
CBCI_USERNAME admin
CBCI_SECRET password123

virt

  • Install bills-score

Download the https://github.com/Ayannah/bc-blackbox/releases/download/v0.2.1/bills_score-0.0.2-py3-none-any.whl
pip

> pip install bills_score-0.2.2-py3-none-any.whl

And, allow incoming connections by turning on the firewall port 443 and 5000.

port Start > Control Panel > windows firewall > Advance Setting > Inbound Rules > Port and Next > In specific local ports: 443, 5000 > Next and select allow the connection and click next.

  • Run server

> bills_scoring server
server

  • Run test command

> bills_scoring test
test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment