Make sure you have Python 3 installed (3.5).
Install 'virtualenv' through the command
pip install virtualenv
Create the virtual environment
virtualenv --python=python3.5 scout
Activate the virtual environment
source scout/bin/activate
pip install -r requirements.txt
*** Optional: This part is not needed to run the server. It is only needed if are working with the code that generates the design from the constraints tree.
*** Make sure you have the Python virtual environment created above still activated.
git clone https://github.com/Z3Prover/z3
cd z3
python scripts/mk_make.py --python # Compile with Python bindings
cd build
make
make install
Install NodeJS and npm if you do not already have them.
https://www.npmjs.com/get-npm
Install the npm packages for building the web application.
cd static
npm install
npm run watch # This will build the web page, and recompile whenever it detects you made a change in the files so you do not need to run this command every time you make a change.
If you want to just build the web application:
npm run build
cd server
./run.sh
Home design dashboard
Open http://localhost:5000/
Import an svg
Open http://localhost:5000/import