-
Notifications
You must be signed in to change notification settings - Fork 4
Install SPECdata
SPECdata can be run on Linux, Windows, or OSX operating systems. It is best to install SPECdata using
the quick setup method, that uses the Anaconda environment manager.
If you run into any issues, please check the FAQ, or report your problem on the Issues page!
-
Install Anaconda
Anaconda is a Python environment manager, that will make your SPECdata installation much easier.
Install the appropriate version for your operating system here:
Download Anaconda: https://docs.continuum.io/anaconda/install -
Download latest version of SPECdata
- Clone or Download from the master branch:
https://github.com/jnicoleoliveira/SPECData.git - Unzip file
- Clone or Download from the master branch:
-
Run Setup Script
The setup script is located in the 'init' directory. Run the appropriate script based on your operating system.- Linux:
- Go to init directory
cd init
- Run the bash script, "linux-setup.sh"
bash linux-setup.sh
- Go to init directory
- Windows:
- Go to init directory
cd init
- Run the powershell script
./windows-setup.cmd
- OR, you may just double click on the windows-setup.cmd file to run
- Go to init directory
- OSX:
- Go init directory
cd init
- Run the bash script, "linux-setup.sh"
bash osx-setup.sh
- Go init directory
- Linux:
-
Setup Wizard
After the setup script has completed, the Setup Wizard will automatically run to configure SPECdata. Following the instructions of the wizard you will:- Check if you have all necessary requirements
- Create a new database or Import a pre-existing database
- Choose the path for the executable file
-
Running SPECdata
You are now done with your installation of SPECdata! For help in using SPECdata, check out the Getting Started, or Tutorials page!
This setup method is not recommended due to potential requirements installation issues. The quick setup method lessens a number of steps required to build the environment, create executable files, and initialize the database. This method requires the user to do this manually.
-
Get Requirements
- Before installing with this method, be sure to use Python2.7
-
Download latest version of SPECdata
- Clone or Download from the master branch:
https://github.com/jnicoleoliveira/SPECData.git - Unzip file
- Clone or Download from the master branch:
-
Add SPECdata package to PYTHONPATH
- Go to the top program directory
- Add package directory to python path
export PYTHONPATH=$PYTHONPATH:
pwd``
-
Install Requirements
python setup.py build
python setup.py install
-
Run Init Script
cd init
python init.py
-
Running SPECdata
- Return to the top directory (
cd ..
) - Run application
python app.py
- Return to the top directory (