Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uppdatering av databas och Python version #137

Open
TobbeEdgeware opened this issue Feb 5, 2021 · 0 comments
Open

Uppdatering av databas och Python version #137

TobbeEdgeware opened this issue Feb 5, 2021 · 0 comments

Comments

@TobbeEdgeware
Copy link

TobbeEdgeware commented Feb 5, 2021

Plan that is also under Project:

We use currently

  • Google App Engine
    • Python 2.7
  • ndb data base + API
  • Google user login/authorization
  • Memcache
  • Tasks for conversions
  • dev_appserver.py for local development

Changes needed

  • Do conversions that we need
  • No app-engine specific code
  • Python >= 3.7
  • cloudndb API towards same data base
  • New login + role data base
    • Could be ScoutID
  • Redis if caching needed
  • New way for tasks

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant