Skip to content

Commit

Permalink
Merge pull request #8 from fzsun/webpack-frontend
Browse files Browse the repository at this point in the history
Webpack frontend
  • Loading branch information
rbs333 authored Feb 19, 2019
2 parents 85269e7 + 885fab7 commit 3a8ff09
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.


Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/About.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</div>
</div>
</div>

</div>
</template>

Expand Down
2 changes: 2 additions & 0 deletions frontend/src/components/S_BFLS.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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);
})
}
}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {
Expand Down

0 comments on commit 3a8ff09

Please sign in to comment.