@@ -1,4 +1,4 @@
-const BASE_URL = "http://localhost:5000/vacation-planner/api"
+const BASE_URL = "https://kirkleon.ddns.net/vacation-planner/api"
export const getHealth = async () => {
const res = await fetch(BASE_URL + "/");
@@ -0,0 +1,17 @@
+#!/usr/bin/env sh
+
+pushd client/
+yarn build
+popd
+pushd server/
+./gendb.py 5/31 9/5 vacation.db
+tar czvf /tmp/deploy-vp.tgz \
+ server/app.py \
+ server/requirements.txt \
+ server/vacation.db \
+ client/build
+scp /tmp/deploy-vp.tgz hiram:/opt/vacation-planner/deploy-vp.tgz