-
-
Notifications
You must be signed in to change notification settings - Fork 493
Linux Installation Guide
Padam Chopra edited this page Dec 5, 2017
·
12 revisions
Note: This process has been tested on Debian based Distros. While it should work on other Distros as well, we haven't tested it.
- Change Directory to the folder where you want to install Bassa
- To clone the project, type:
https://github.com/scorelab/Bassa.git - Go into the project directory by
cd Bassa - To start installation, run the following commands:
$ ./setup.sh $ cd components/core/ $ sudo python setup.py develop - Now you need to setup the database for Bassa,run the following commands in the MySQL Terminal:
create database Bassa - Type the following commands in the root of the project:
Open components/core/DBCon.py in the project folder and setup database username and password.
mysql -u root -p use Bassa; set autocommit=0; source Bassa.sql; Commit;
- To test the server, run the following commands:
$ cd components/core $ python Main.py - For setting up the UI, change directory to 'Bassa' and run the following commands:
$ cd ui $ npm install - You need to install aria2c to start downloads through Bassa. Install it using
To make sure you now have aria2c installed, run:
$ sudo apt-get install aria2aria2c --enable-rpc - To run Bassa, execute the following command in terminal:
gulp serveFor the first time, the login credentials are 'rand' and password is 'pass'
- While testing the servers, you can get a potential error of Flask directory not being found. To resolve this, execute the following commands:
$ sudo apt install python-pip $ pip install Flask - While giving the command
npm installin step 9, you can get an error that says npm is not installed. To resolve this, execute the following commands:$ sudo apt install npm