Skip to content

What if I want to contribute ?

How to contribute ?

Feel free to fork this repository and make your own contribution, open pull requests, or create issues.

Warning

Important advisory notes before you start

Please note that this documentation is incomplete as it is still in work, you may find "TODO" withing it.

I wrote this section to help you get started with the project, but it is not a complete reference. You may have to do your own research to understand all the code sections of the project.

If you need help, please feel free to contact me at gael.lejeune@capgemini.com, lejeune.gael@free.fr or on Github.

How does this fork work ?

General structure

The project is divided into two main parts:

This two repositories are designed to work together. See more in the docker installation section.

Code structure

The application uses Flask as a web framework and SQLAlchemy as a database.

It uses the following structure:

๐Ÿ“ฆopencve
 โ”œโ”€โ”€ ๐Ÿ“‚api
 โ”œโ”€โ”€ ๐Ÿ“‚checks
 โ”œโ”€โ”€ ๐Ÿ“‚commands
 โ”‚    โ””โ”€โ”€ ๐Ÿ“‚imports
 โ”œโ”€โ”€ ๐Ÿ“‚controllers
 โ”œโ”€โ”€ ๐Ÿ“‚migrations
 โ”‚    โ””โ”€โ”€ ๐Ÿ“‚versions
 โ”œโ”€โ”€ ๐Ÿ“‚models
 โ”œโ”€โ”€ ๐Ÿ“‚static
 โ”‚    โ”œโ”€โ”€ ๐Ÿ“‚css
 โ”‚    โ”œโ”€โ”€ ๐Ÿ“‚fonts
 โ”‚    โ”œโ”€โ”€ ๐Ÿ“‚img
 โ”‚    โ””โ”€โ”€ ๐Ÿ“‚js
 โ”œโ”€โ”€ ๐Ÿ“‚tasks
 โ”œโ”€โ”€ ๐Ÿ“‚templates
 โ”‚    โ”œโ”€โ”€ ๐Ÿ“‚admin
 โ”‚    โ”œโ”€โ”€ ๐Ÿ“‚emails
 โ”‚    โ”œโ”€โ”€ ๐Ÿ“‚errors
 โ”‚    โ”œโ”€โ”€ ๐Ÿ“‚flask_user
 โ”‚    โ”œโ”€โ”€ ๐Ÿ“‚profiles
 โ”‚    โ”œโ”€โ”€ ๐Ÿ“‚report
 โ”‚    โ”œโ”€โ”€ ๐Ÿ“‚_includes
 โ”‚    โ””โ”€โ”€ ๐Ÿ“‚_welcome
 โ”‚         โ””โ”€โ”€ ๐Ÿ“‚css
 โ”œโ”€โ”€ ๐Ÿ“‚views
 โ”œโ”€โ”€ ๐Ÿ“œadmin.py
 โ”œโ”€โ”€ ๐Ÿ“œapp.py
 โ”œโ”€โ”€ ๐Ÿ“œcli.py
 โ”œโ”€โ”€ ๐Ÿ“œconfiguration.py
 โ”œโ”€โ”€ ๐Ÿ“œconstants.py
 โ”œโ”€โ”€ ๐Ÿ“œcontext.py
 โ”œโ”€โ”€ ๐Ÿ“œdefault.cfg
 โ”œโ”€โ”€ ๐Ÿ“œextensions.py
 โ”œโ”€โ”€ ๐Ÿ“œforms.py
 โ”œโ”€โ”€ ๐Ÿ“œsettings.py
 โ”œโ”€โ”€ ๐Ÿ“œutils.py
 โ”œโ”€โ”€ ๐Ÿ“œVERSION
 โ””โ”€โ”€ ๐Ÿ“œ__init__.py

Info

You can find the official documentation of python-flask layout here.