Skip to content
Snippets Groups Projects
Commit b7e16ad5 authored by tuhe's avatar tuhe
Browse files

Updated requirements.txt

parent 1ffac93e
Branches
No related tags found
No related merge requests found
Showing
with 7 additions and 2 deletions
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
......@@ -20,12 +20,17 @@ import os
IS_SERVER = socket.gethostname() == "tuhe-OptiPlex-990" # Are we on le server?
def debug():
return socket.gethostname() == 'COMP-NB2872' or socket.gethostname() == 'tuhe-OptiPlex-990'
return socket.gethostname() == 'COMP-NB2872' or socket.gethostname() == 'tuhe-OptiPlex-990' or socket.gethostname() == 'thp'
# dkbn specics:
DEV_ROOT = 'c:/Users/tuhe/Documents/dkbn/dev'
ROOT = 'c:/Users/tuhe/Documents/dkbn/dev/dkbn2'
if IS_SERVER:
if socket.gethostname() == 'thp':
DEV_ROOT = '/home/tuhe/Documents/dkbn/dev'
ROOT = f"{DEV_ROOT}/dkbn2"
DEBUG = True
elif IS_SERVER:
ROOT = "/home/tuhe/Documents/dkbn/dev/dkbn2"
DEV_ROOT = "/home/tuhe/Documents/dkbn/dev"
DEBUG = True # probably not in the long run...
......
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment