-
Notifications
You must be signed in to change notification settings - Fork 1
Installation
As part of the final delivery, the Soundscape Noise Analysis Workbench should have been installed on a platform of your choice. Over time, however, you may choose to move to a new platform or re-install the product. Below is a detailed description of how to install the SNAW web application locally on a PC as well as the standalone application.
Before we explain the steps to install the web and standalone application, there are two prerequisites to complete.
Pre-Requisites:
- Setting Up a Python Virtual Environment with all Needed Python Packages
- Installing Node JS
Note: Anaconda is not compatible.
Install Python (version 3.7.4) from: https://www.python.org/downloads/release/python-374/
Make sure Pip is up-to-date. Run command ‘py -m pip install --upgrade pip
Navigate to the directory where you would like to install the virtual environment.
Run command py -m venv snaw (change ‘snaw’ to what you would like to name the virtual environment).
Activate the environment by navigating to the file directory of your environment and running command .\Scripts\activate
Verify that the virtual environment is running by looking on the left hand side of the bottom line. You should see the name of your virtual environment in parenthesis (Ex: (snaw) C:......).
Visit SNAW’s ‘Installation_Requirements’ repository at: https://github.com/intelliChirp/Installation_Requirements
Click the green ‘Clone or download’ button.
Click on ‘Download ZIP’.
Copy requirements.txt file to your virtual environment directory.
Navigate to your virtual environment’s directory.
Type the command pip install -r requirements.txt
Wait for the packages to install on your local machine.
Done!
If you ran into trouble during the virtual environment setup, this website may be helpful: (https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/)
Visit the website https://nodejs.org/en/download/
Download the LTS Installer for your Operating System.
Run the Installer.
Verify that Node JS has installed by opening a terminal and typing node -v
Now that the Python virtual environment has been set up and Node JS has been installed, we will now provide detailed steps on how to install the SNAW web and standalone application.