Add an install script for setting up the directories with dependencies

This commit is contained in:
Matthew McWilliams 2022-11-11 10:08:49 -05:00
parent ca6d7d7d0b
commit 9ca86eb862
3 changed files with 23 additions and 0 deletions

16
install.sh Normal file
View File

@ -0,0 +1,16 @@
#!/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

View File

@ -5,6 +5,7 @@
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "numbers",
"version": "1.0.0", "version": "1.0.0",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {

6
package-lock.json generated Normal file
View File

@ -0,0 +1,6 @@
{
"name": "animation",
"lockfileVersion": 2,
"requires": true,
"packages": {}
}