From de1e6b1b7ad9e4772636fd66e627ba8436bf6758 Mon Sep 17 00:00:00 2001 From: Robert Date: Tue, 11 Dec 2018 15:53:06 -0500 Subject: [PATCH 1/2] console logs for demo (remove) readme update --- README.md | 4 ++++ frontend/src/components/S_BFLS.vue | 2 ++ 2 files changed, 6 insertions(+) diff --git a/README.md b/README.md index 99b8bc5..1011acb 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,10 @@ For development, `cd` to the project folder, then use `python myapp.py` to start Next in a different terminal `cd` into the `frontend` folder and run `npm run dev` to start the client +To send an email from a gmail account, create a email credentials file NOT TRACKED BY GITHUB and securly +import a password and of course change the email from the example.To generate the passcode itself +setup two factor authentication and generate an app code from google. + A Waitress production server can be started by `python production.py`. diff --git a/frontend/src/components/S_BFLS.vue b/frontend/src/components/S_BFLS.vue index ffae6a5..3c96361 100644 --- a/frontend/src/components/S_BFLS.vue +++ b/frontend/src/components/S_BFLS.vue @@ -248,6 +248,8 @@ export default { .post('http://localhost:5000/s-bfls/', this.model) .then(response => { this.response = response.data; + console.log("Optimization Results: "); + console.log(this.response); }) } } From 885fab76984373f0d0fbebc4371603c852798462 Mon Sep 17 00:00:00 2001 From: Robert Date: Tue, 5 Feb 2019 18:11:27 -0500 Subject: [PATCH 2/2] email credentials --- frontend/src/components/About.vue | 2 +- frontend/src/router/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/About.vue b/frontend/src/components/About.vue index eeaf8ff..cc0db71 100644 --- a/frontend/src/components/About.vue +++ b/frontend/src/components/About.vue @@ -13,7 +13,7 @@ - + diff --git a/frontend/src/router/index.js b/frontend/src/router/index.js index 5836210..4a1466e 100644 --- a/frontend/src/router/index.js +++ b/frontend/src/router/index.js @@ -4,7 +4,7 @@ import Router from 'vue-router' const routerOptions = [ { path: '/', component: 'Home' }, { path: '/s-bfls', name: 'S_BFLS', component: 'S_BFLS' }, - { path: '/about', name: "About", component: "About"} + { path: '/about', name: 'About', component: 'About' } ] const routes = routerOptions.map(route => {