Skip to content

Install SPECdata

Jasmine N Oliveira edited this page May 24, 2017 · 9 revisions

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!

Quick Setup

  1. 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

  2. Download latest version of SPECdata

  3. 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
    • 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
    • OSX:
      • Go init directory cd init
      • Run the bash script, "linux-setup.sh" bash osx-setup.sh
  4. 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
  5. Running SPECdata
    You are now done with your installation of SPECdata! For help in using SPECdata, check out the Getting Started, or Tutorials page!

Alternative Setup (Not Recommended)

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.

  1. Get Requirements

    • Before installing with this method, be sure to use Python2.7
  2. Download latest version of SPECdata

  3. Add SPECdata package to PYTHONPATH

    • Go to the top program directory
    • Add package directory to python path
      export PYTHONPATH=$PYTHONPATH:pwd``
  4. Install Requirements

    • python setup.py build
    • python setup.py install
  5. Run Init Script

    • cd init
    • python init.py
  6. Running SPECdata

    • Return to the top directory ( cd .. )
    • Run application python app.py