Coder Social home page Coder Social logo

hiimjako / flaskproject Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 5.86 MB

This is the internet, web and cloud exam project, developed in flask

Python 2.85% HTML 27.55% JavaScript 24.80% SCSS 11.59% CSS 33.02% Mako 0.02% PowerShell 0.05% Dockerfile 0.02% Shell 0.11%

flaskproject's Introduction

FlaskProject

This is the internet, web and cloud exam project, developed in flask

How to run this project

  • Copy .env.sample into .env

  • Fill the missing fields (like: passwords)

    • MAIL_USERNAME and MAIL_PASSWORD are the credential to send the invitation link to join the application, it should be a gmail account, leave empty and it will use the default ones
  • Add ADMIN_EMAIL and ADMIN_PASSWORD to .env

  • docker-compose -f docker-compose-dev.yml up

  • docker exec -it flask-app /bin/bash

    • flask db upgrade
    • flask setup_dev
  • Open http://127.0.0.1:5000/

    • Log in with ADMIN_EMAIL and ADMIN_PASSWORD

Or it's aviable on opendrive.site

Flask migrate

Inizialize migration flask db init Commit migration flask db migrate -m ""

Apply migrations flask db upgrade

If there are some trubles with "psycopg2" remove it from requirements.txt or use docker instead

# TODO

  • add file size to db, for limit the amount of file to upload per user
  • Name to pdf while download in new page
  • Backup button
  • Change password, with rq queue to recrypt all files
  • Add rq thats handles file inputs

flaskproject's People

Contributors

hiimjako avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.