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.
2 parents c708337 + 8905992 commit 5f9abbeCopy full SHA for 5f9abbe
2 files changed
startserver
@@ -0,0 +1,14 @@
1
+#!/bin/bash
2
+cd fri/server
3
+if ! command -v python3 >/dev/null 2>&1; then
4
+ python main.py
5
+else
6
+ python3 main.py
7
+fi
8
+
9
+if [ $? -ne 0 ]; then
10
+ echo ""
11
+ echo "Error: Make sure modules are installed from fri/requirements.txt"
12
+ echo "Run: pip install -r fri/requirements.txt"
13
14
startserver.bat
@@ -0,0 +1,8 @@
+cd fri\server
+python main.py
+if errorlevel 1 (
+ echo.
+ echo Error: Make sure modules are installed from fri/requirements.txt
+ echo Run: pip install -r fri/requirements.txt
+)
0 commit comments