Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: update scripts

Steven84a3548232e7
diff --git a/scripts/build.sh b/scripts/build.sh
index d3340ad26..7aa43dd33 100755
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -6,8 +6,8 @@ set -e
cd "$(dirname "$0")/../"
-echo "Start building..."
+echo "Start building backend..."
go build -o ./memos-build/memos ./bin/server/main.go
-echo "Build finished"
+echo "Backend built!"
diff --git a/scripts/start.sh b/scripts/start.sh
new file mode 100755
index 000000000..dc154b92b
--- /dev/null
+++ b/scripts/start.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+# Usage: ./scripts/start.sh
+
+set -e
+
+cd "$(dirname "$0")/../"
+
+air -c ./scripts/.air.toml