Generate a data with a diagram, created with drag and drop
- Flask
- Vue.js
- Drag and Drop Component : Easy-Dnd ( https://github.com/rlemaigre/Easy-DnD )
install the necessary library
$ pip install pipreqs
$ pipreqs
$ pip install -r requirements.txt
Launch a python server in /api, available in http://127.0.0.1:5000/ :
$ flask run
Launch a Vue server with yarn or npm in webapp folder, available in http://localhost:4000/:
$ npm install
$ npm run serve
or
$ yarn install
$ yarn serve
- Install PostGresSQL et create database
- change database configuration ( config.py )
python manage.py db init
python manage.py db migrate
python manage.py db upgrade
$ Docker-compose up --build