-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from USC-InfoLab/jize
add default config.yaml, fix log out button bug
- Loading branch information
Showing
8 changed files
with
188 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
database_number: 1 | ||
|
||
database1: | ||
# nickname: 'local db' | ||
# dbms: 'postgresql' | ||
# host: 'db' # Replace with your DB host | ||
# port: 5432 # Replace with your DB port | ||
# user: 'admin' # Replace with your DB username | ||
# password: 'admin'# Replace with your DB password | ||
nickname: 'gcp' | ||
dbms: 'postgresql' | ||
host: '35.235.95.37' # Replace with your DB host | ||
port: 5439 # Replace with your DB port | ||
user: 'jize' # Replace with your DB username | ||
password: 'jz@uscdash23' # Replace with your DB password | ||
|
||
mapping: | ||
columns: | ||
user_id: 'user_id' | ||
timestamp: 'timestamp' | ||
value: 'value' | ||
tables: | ||
user_table: | ||
name: 'geomts_users' | ||
columns: | ||
user_id: String(50) | ||
device: String(50) | ||
location: String(50) | ||
time_series: | ||
- heart_rates | ||
- calories | ||
- mets | ||
- distances | ||
- steps | ||
- sleep | ||
- weight | ||
geo: | ||
- locations |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
#database: | ||
# dbms: 'postgresql' | ||
# host: '35.235.95.37' # Replace with your DB host | ||
# port: 5439 # Replace with your DB port | ||
# user: 'jize' # Replace with your DB username | ||
# password: 'jz@uscdash23' # Replace with your DB password | ||
|
||
database_number: 2 | ||
|
||
database1: | ||
nickname: 'local db' # will shows in the selectbox | ||
dbms: 'postgresql' | ||
host: 'db' # Replace with your DB host | ||
port: 5432 # Replace with your DB port | ||
user: 'admin' # Replace with your DB username | ||
password: 'admin' | ||
|
||
database2: | ||
nickname: 'gcp' | ||
dbms: 'postgresql' | ||
host: '35.235.95.37' # Replace with your DB host | ||
port: 5439 # Replace with your DB port | ||
user: 'jize' # Replace with your DB username | ||
password: 'jz@uscdash23' # Replace with your DB password | ||
|
||
mapping: | ||
columns: | ||
user_id: 'user_id' | ||
timestamp: 'timestamp' | ||
value: 'value' | ||
tables: | ||
user_table: | ||
name: 'geomts_users' | ||
columns: | ||
user_id: String(50) | ||
device: String(50) | ||
location: String(50) | ||
time_series: | ||
- heart_rates | ||
- calories | ||
- mets | ||
- distances | ||
- steps | ||
- sleep | ||
- weight | ||
geo: | ||
- locations |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
class query_history: | ||
def __init__(self): | ||
self.data = None | ||
|
||
def set(self, data): | ||
self.data = data | ||
|
||
def get(self): | ||
return self.data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters