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/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/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); }) } } 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 => {