KasperskyLab/TinyCheck

Contributing & understanding structure

Opened this issue · 1 comments

Mighty wizards/Felix

I am trying to understand how TC is built - and I am admittly rather rusty on the webfrontend side of things.
Is this close?:
https://testdriven.io/blog/combine-flask-vue/

I'd like to compliment the IOC page with simple information such as

  • "n entries in DB";
  • "last update: YYYY-MM-DD";
  • "force update" button.
    But even little changes to the blueprints (*.vue) don't render. Likely I've missed an important part in this.

Any pointers appreciated!

Hello!

So yes, its build with Flask & VueJS. Regarding VueJS I use VueCLI, the project needs to be compiled to work so if you make changes, you need to re-build it by using the command line:

cd /usr/share/tinycheck/app/backend/ && npm run build

You can also use npm run serve to start a dev server and see the changes on the fly once you save your VueJS files.
Don't hesitate to send a PR if you think that the improvement can be interesting to the community!

Have a good week,
Félix.