-
-
Notifications
You must be signed in to change notification settings - Fork 494
Windows Installation Guide
- Install Git - Use windows installer (https://git-scm.com/downloads)
- Install Python 3 (make sure it's python 3) - use windows installer (Check your computer if 32 bit or 64 bit and download accordingly) Latest Python 3 installer: https://www.python.org/downloads/release/python-363/
-
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.
-
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).
-
In the Git Bash terminal, type
sh setup.sh
. -
Navigate (in file explorer or CMD) to the folder 'components', then 'core'.
-
Open CMD in that directory (one way to do that is Shift + right click, click 'Open command prompt here')
-
Type and run the command
python setup.py develop
. NOTE 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 the 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
You can now run the Bassa backend with python Main.py
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.
-
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.
-
Inside the 'bassa-windows' folder navigate the folder(directory) labeled 'ui' .
-
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.
-
Next you must install Bower. In a command prompt type and run
npm install -g bower
(the -g flag installs it globally) -
Install Gulp with
npm install --global gulp
Run Bassa UI with gulp serve