Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
Added startup scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoronex committed Jul 18, 2020
1 parent 6e077c4 commit 2b8ae09
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class Config(object):
MAIL_USERNAME = os.getenv('MAIL_USERNAME')
MAIL_PASSWORD = os.getenv('MAIL_PASSWORD')
MAIL_DEFAULT_SENDER = ("KVLS Tikker", "tikker@kvls.nl")
DEBT_MAXIMUM = -10.0 # Negative balance is
DEBT_MAXIMUM = 0.0 # Negative balance is
SPOTIPY_CLIENT_ID = os.getenv('SPOTIPY_CLIENT_ID')
SPOTIPY_CLIENT_SECRET = os.getenv('SPOTIPY_CLIENT_SECRET')
SPOTIPY_REDIRECT_URI = 'http://127.0.0.1:5000/api/spotify/login'
Expand Down
5 changes: 5 additions & 0 deletions start_tikker.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@echo off
title Tikker Server v.1.5.0.2
call git pull
start "" "start_tikker_browser.bat"
call python main.py
5 changes: 5 additions & 0 deletions start_tikker_bigscreen.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
if exist "tikker_bigscreen.lnk" (
timeout /t 5 /nobreak
start "" "tikker_bigscreen.lnk"
)
exit 0
5 changes: 5 additions & 0 deletions start_tikker_browser.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
if exist "tikker_browser.lnk" (
timeout /t 5 /nobreak
start "" "tikker_browser.lnk"
)
exit 0

0 comments on commit 2b8ae09

Please sign in to comment.