Add an install script for setting up the directories with dependencies
This commit is contained in:
parent
ca6d7d7d0b
commit
9ca86eb862
|
@ -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
|
|
@ -5,6 +5,7 @@
|
|||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "numbers",
|
||||
"version": "1.0.0",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"name": "animation",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {}
|
||||
}
|
Loading…
Reference in New Issue