Scouterna / skojjt

Närvarorapportering för scouter
Apache License 2.0
14 stars 15 forks source link

Uppdatering av databas och Python version #137

Open TobbeEdgeware opened 3 years ago

TobbeEdgeware commented 3 years ago

Plan that is also under Project:

We use currently

Changes needed

Steps forward

  1. Still in Python 2.7 and dev_appserver.py
    1. Remove user login/authorization -> add comments (new decorator)
    2. Remove caching -> add comments
    3. Remove tasks -> add comments
  2. Pure application Python 2.7
    1. run main.py directly
    2. Replace ndb API with cloudndb
      1. Run as local app
      2. Connect to online database or run emulator
    3. Remove rest of app-engine api
  3. Change app to Python 3
    1. Change all code to Python 3
    2. Run as local app
      1. Connect to online database or run emulator
    3. Add user/authorization
    4. Add caching if needed
    5. Add tasks if needed