This is the code for the new version of our site at https://ultros.io.
This project uses the Ace editor in the admin interface. The license for Ace can be found in LICENSE_ACE.
config.yml
based on config.example.yml
python3 tools.py run-migrations
ultros_site.tasks.__main__:app
for the Celery appultros_site.__main__.app
/static
directly instead of proxying it to the WSGI appSimply run python3 tools.py run-migrations
again to make sure your database is up to date after every pull.
If you're going to change the database, do the following:
python3 tools.py run-migrations
so that you're up-to-date
python3 tools.py create-migrations "Summary of the migrations"
python3 tools.py run-migrations
to update your local database with the migration you just createdIf you need to run Alembic manually, please ensure that you set your PYTHONPATH variable to .
(or add .
to it),
otherwise the Alembic environment will not be able to import the database metadata and will fail to load.