| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
|
|
|
|
| |
As this is a new table, just re-doing "./manage.py init" should add it to db,
while keeping old data.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
save resources
We shouldn't need SQLALCHEMY_TRACK_MODIFICATIONS, so just disable it as suggested to
avoid the warning and save these little resources. This is a flask-sqlalchemy specific
session event tracking thing; sqlalchemy itself provides its own mechanism for this
these days, and if we need something like that, we should probably use those, not
this flask-sqlalchemy thing.
|
|
|
|
|
|
|
|
|
|
|
| |
Now uses extra Flask-Classy dependency for nicer routing and organization.
Stylesheet is Gentoo Tyrian loaded from standard CDN location.
Reorganizes some of frontend to frontend module, which necessitates telling
Flask it's "frontend", not "backend" (for templates to work without passing
custom paths). If reorganization goes this route and completes, all the
flask parts should end up in frontend module, making this hack obsolete.
Though backend might want to use Flask-Sqlalchemy too, so needing the Flask
app object, but not sure yet.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
This just prints the first packages versions JSON data out and exits,
so just some initial debug code out of the way to sync in projects.xml
first, as sync_versions will need to reference projects and maintainers,
so better to finish projects.xml sync first.
|
| |
|
|
|
|
| |
Also add manage.py commands to call the sync steps individually for testing
|
| |
|
|
|
|
|
|
|
| |
Now this should make http://localhost:5000 show the available categories:
./manage.py init
./manage.py sync_gentoo
./manage.py runserver
|
|
virtualenv -p python3 venv
venv/bin/activate
pip install -r requirements.txt
./manage.py runserver --help
./manage.py shell for a python shell with flask instance exported into "app" var
./manage.py runserver
|