Initial commit
This commit is contained in:
Executable
+15
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
# file: download-release.sh
|
||||
|
||||
|
||||
mkdir -p release
|
||||
|
||||
cd release
|
||||
|
||||
git clone https://github.com/ankicommunity/anki-sync-server
|
||||
|
||||
mv anki-sync-server/src/* .
|
||||
|
||||
rm -rf anki-sync-server
|
||||
|
||||
cd ..
|
||||
Executable
+15
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
# file: entrypoint.sh
|
||||
|
||||
# if [ -f "/app/data/auth.db" ]; then
|
||||
# echo "auth.db found"
|
||||
# else
|
||||
# echo "Creating new authentication database: auth.db."
|
||||
# sqlite3 /app/data/auth.db 'CREATE TABLE auth (user VARCHAR PRIMARY KEY, hash VARCHAR)'
|
||||
# fi
|
||||
|
||||
# echo "Updating database schema"
|
||||
# python3 utils/migrate_user_tables.py
|
||||
|
||||
echo "Starting anki-sync-server"
|
||||
python3 -m ankisyncd
|
||||
Reference in New Issue
Block a user