#!/bin/bash

cd ./tapit-backend
go build
cd ..

cd ./tapit-frontend
ng build --optimization
cd ..

cp -r ./tapit-frontend/dist/tapit-frontend/* ./tapit-build/static/
cp ./tapit-backend/tapit-backend ./tapit-build/tapit

./tapit-build/tapit
