Skip to content

Commit 5f1dd27

Browse files
committed
fixin bug
2 parents 3f691d4 + 3c39a83 commit 5f1dd27

File tree

5 files changed

+12
-4
lines changed

5 files changed

+12
-4
lines changed

.env.sample

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# IBM IoT
1+
# this is how to connect to the database.
22
MARIADB_HOST=
33
MARIADB_PORT=
44
MARIADB_USERNAME=

app.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,15 @@
88
@app.route('/')
99
def index():
1010
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.
1113

1214

1315
@app.route("/healthz")
1416
def healthz():
1517
resp = Response("ok")
1618
resp.headers['Custom-Header'] = 'Awesome'
19+
# this is awesome tying things
1720
return resp
1821

1922
if __name__ == "__main__":

manifest.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ applications:
44
memory: 256M
55
instances: 1
66
port: 5000
7-
7+
8+
# this is me adding another comment.

static/css/style.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
body,html {
22

33
margin: 0;
4-
4+
55
}
6-
6+
77
.image {
88
background-image: url("../images/IBM_Microbites_MockSite_120820.png")
99
/*background-image: url("../images/IBM_Error500_MockSite_120820.jpg");*/

util/MicroBites.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,11 @@
3737
SQLALCHEMY_DATABASE_URI = ("mysql+pymysql://"+ os.getenv('MARIADB_USERNAME')
3838
+":"+ os.getenv("MARIADB_PASSWORD")
3939
+"@"+ os.getenv("MARIADB_HOST")
40+
<<<<<<< HEAD:util/MicroBites.py
4041
+":" + str(os.getenv("MARIADB_PORT"))
42+
=======
43+
+":3223"
44+
>>>>>>> 3c39a836ed0520fb6a0385852f6f9cfacc316174:util/MicroBytes.py
4145
+"/prometeo")
4246

4347
DB_ENGINE = sqlalchemy.MetaData(SQLALCHEMY_DATABASE_URI).bind

0 commit comments

Comments
 (0)