We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a11de9 commit 05388d7Copy full SHA for 05388d7
1 file changed
oneclick-conda-install.sh
@@ -26,6 +26,7 @@ set -euo pipefail
26
readonly PROJECT_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
27
readonly FRONTEND_DIR="${PROJECT_ROOT}/surfsense_web"
28
readonly EXTENSION_DIR="${PROJECT_ROOT}/surfsense_browser_extension"
29
+readonly BACKEND_DIR="${PROJECT_ROOT}/surfsense_backend"
30
31
ENV_NAME="${SURFSENSE_ENV_NAME:-surfsense}"
32
PYTHON_VERSION="${SURFSENSE_PYTHON_VERSION:-3.12}"
@@ -96,7 +97,7 @@ main() {
96
97
conda activate ${ENV_NAME}
98
99
2. Start the backend API:
- (cd ${BACKEND_DIR} && uvicorn app.app:app --reload)
100
+ (cd "${BACKEND_DIR}" && uvicorn app.app:app --reload)
101
or refer to DEPLOYMENT_GUIDE.md for production options.
102
103
3. Start the web app (if npm was available):
@@ -107,4 +108,3 @@ EOF
107
108
}
109
110
main "$@"
-
0 commit comments