Skip to content

Windows Installation Guide

tintinmovie edited this page Dec 4, 2017 · 18 revisions

Windows Installation Guide

Prerequisites

Installation

  1. Download Repository (https://github.com/scorelab/Bassa/tree/windows) to local storage. This can be done by clicking the green button labelled "Clone or download", followed by clicking on the "Download ZIP" on the menu that just appeared. Once downloaded unzip file in desired directory.

  2. Navigate to folder 'Bassa-windows' (which should of been created when unzipping the zip file downloaded.) Right click inside the folder, and on the menu, click 'Git Bash here'. If it's not there then you haven't or incorrectly, installed Git (refer to prerequisites).

  3. In the Git Bash terminal, type sh setup.sh.

  4. Navigate (in file explorer or CMD) to the folder 'components', then 'core'.

  5. Open CMD in that directory (one way to do that is Shift + right click, click 'Open command prompt here')

  6. Type and run the command python setup.py develop . NOTE If you get an error either you haven't installed python or it hasn't been installed correctly. If you get the error 'python is not recognized as an internal or external command', generally you must add python to PATH (tutorial here: https://superuser.com/questions/143119/how-to-add-python-to-the-windows-path)

If you get this error: "Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat)." You must install Microsoft C++ 10.0 from (https://www.microsoft.com/en-nz/download/details.aspx?id=5555. If this still doesn't work follow this solution on Stack Overflow https://stackoverflow.com/a/34048443/8625593

🎉 Congratulations you have installed Bassa for Windows! 🎉

Bassa UI installation

Now if you want a nice looking interface, instead of a boring terminal (sorry terminal), then there are a few extra steps required to install the dependencies.

  1. Navigate to the 'bassa-windows' folder (main folder created when unzipping zip file). If you were just following the previous instructions, then you will be inside in the 'components/core' directory. Just click the back button twice (or go up a directory twice) - this should get you to the correct folder.

  2. Inside the 'bassa-windows' folder navigate the folder(directory) labeled 'ui' .

  3. Open up your CMD prompt inside of the folder (this can be done by SHIFT + right click, 'Open Command Prompt Here'). In the command prompt run the command npm install .

If you get an error running npm install, then you probably haven't installed it. NPM comes bundled with Node.js. So all you have to do is install node.js (from https://nodejs.org/en/), and there you go.

  1. Next you must install Bower. In a command prompt type and run npm install -g bower (the -g flag installs it globally)

  2. Now you have to install Gulp. in a command prompt type and run npm install --global gulp (again the --global flag installs the package globally)

🎉 Congratulations, you have installed Bassa's UI 🎉

Clone this wiki locally