File tree Expand file tree Collapse file tree 5 files changed +12
-4
lines changed Expand file tree Collapse file tree 5 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 1
- # IBM IoT
1
+ # this is how to connect to the database.
2
2
MARIADB_HOST =
3
3
MARIADB_PORT =
4
4
MARIADB_USERNAME =
Original file line number Diff line number Diff line change 8
8
@app .route ('/' )
9
9
def index ():
10
10
return render_template ("index.html" )
11
+ # this is me typing a comment in the application, it's weird that i have to do this.
12
+ # this is me adding another comment trying to figure something out.
11
13
12
14
13
15
@app .route ("/healthz" )
14
16
def healthz ():
15
17
resp = Response ("ok" )
16
18
resp .headers ['Custom-Header' ] = 'Awesome'
19
+ # this is awesome tying things
17
20
return resp
18
21
19
22
if __name__ == "__main__" :
Original file line number Diff line number Diff line change @@ -4,4 +4,5 @@ applications:
4
4
memory : 256M
5
5
instances : 1
6
6
port : 5000
7
-
7
+
8
+ # this is me adding another comment.
Original file line number Diff line number Diff line change 1
1
body , html {
2
2
3
3
margin : 0 ;
4
-
4
+
5
5
}
6
-
6
+
7
7
.image {
8
8
background-image : url ("../images/IBM_Microbites_MockSite_120820.png" )
9
9
/*background-image: url("../images/IBM_Error500_MockSite_120820.jpg");*/
Original file line number Diff line number Diff line change 37
37
SQLALCHEMY_DATABASE_URI = ("mysql+pymysql://" + os .getenv ('MARIADB_USERNAME' )
38
38
+ ":" + os .getenv ("MARIADB_PASSWORD" )
39
39
+ "@" + os .getenv ("MARIADB_HOST" )
40
+ << < << << HEAD :util / MicroBites .py
40
41
+ ":" + str (os .getenv ("MARIADB_PORT" ))
42
+ == == == =
43
+ + ":3223"
44
+ >> > >> >> 3 c39a836ed0520fb6a0385852f6f9cfacc316174 :util / MicroBytes .py
41
45
+ "/prometeo" )
42
46
43
47
DB_ENGINE = sqlalchemy .MetaData (SQLALCHEMY_DATABASE_URI ).bind
You can’t perform that action at this time.
0 commit comments