Files
2022-07-18 10:07:03 -04:00

25 lines
332 B
Bash
Executable File

#!/bin/bash
set -e
api_location=${1}
# web_location=${2}
function install_yarn() {
pushd $web_location
yarn
yarn build
cp -r $web_location/build $api_location/web
popd
}
function install_py() {
pushd $api_location
pip install . $api_location
popd
}
install_py
# install_yarn
echo "DONE BUILD"