Skip to content

DjiAC/WETA

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WETA - Workshop Enhanced Token Administration

Initial Project forked thanks to https://github.com/SylannBin, a classmate.

Team Members :

  • Valentin Mele
  • William Besseau
  • Michael Martinez
  • Adrien Ceccaldi

Objectives :

Create a token administration platform used by several types of users for EPSI Workshops.

Techs :

  • Backend : Flask (microframework Python 3)
  • Front-end : Jinja2
  • Versionning system : Github
  • Continuous Integration : VSTS - Agile Mode

Local installation of the project

Linux

$ sudo apt-get install python3
$ sudo apt-get install python3-venv
$ sudo apt-get install sqlite3
$ pip install -U pip
$ python3 -m venv .venv
$ source .venv/bin/activate
$ pip install -r requirements.txt
$ export FLASK_APP=run.py

Windows

First use installer for python3, then in cmd.exe as administrator :

pip install -U pip
pip install virtualenv
python -m virtualenv .venv
.venv\Scripts\activate
pip install -r requirements.txt
SET FLASK_APP=run.py

Database Integration

$ sqlite3 weta.db
# .tables usually list existing tables but there it'll just force sqlite to create the db
sqlite> .tables
# Exit sqlite shell
sqlite> .exit
# Start python shell
$ flask shell
>>> from app import db
>>> db.create_all()
>>> exit()

Run server (dev)

flask run --reload

Help

Google

Flask

Python string format

Jinja filters

Bulma

Font awesome icons

Folder Organisation

.venv/
app/
    static/
        css/
        js/
        img/
        fonts/
    templates/
        *.html
    models/
        __init__.py
        *.py
    views/
        __init__.py
        *.py
    __init__.py
    errors.py
.gitignore
LICENSE
weta.db
README.md
requirements.txt
run.py

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 67.5%
  • HTML 20.3%
  • Python 12.1%
  • JavaScript 0.1%