animation/install.sh

16 lines
237 B
Bash

#!/bin/bash
if [ ! -d "numbers/node_modules" ]; then
cd numbers
npm i
cd ..
fi
if [ -d "fourcell/env" ]; then
cd fourcell
python -m venv env
source env/bin/activate
python -m pip install -r requirements.txt
deactivate
cd ..
fi