Пример #1
0
def update():
    """
    Update all application data not in repository (copy, assets, etc).
    """
    utils.install_font(force=False)
    text.update()
    assets.sync()
    data.update()
Пример #2
0
def update():
    """
    Update all application data not in repository (copy, assets, etc).
    """
    utils.install_font(force=False)
    text.update()
    assets.sync()
    data.update()
Пример #3
0
def update():
    """
    Update all application data not in repository (copy, assets, etc).
    """
    utils.install_font(force=False)
    text.update_copytext()
    text.update_calendar()
    text.update_newsletter()
    text.update_all_docs()
    assets.sync()
Пример #4
0
def update():
    """
    Update all application data not in repository (copy, assets, etc).
    """
    utils.install_font(force=False)
    text.update()
    assets.sync()
    data.update()
    # Get google document exported as HTML
    text.get_transcript()
Пример #5
0
def bootstrap():
    """
    Reset font, db, copy, calendar, and docs.

    Install font, update copy and calendar from Google Spreadsheets, update content from Google Docs, and reset db.
    """
    utils.install_font()
    text.update_copytext()
    text.update_calendar()
    text.update_newsletter()
    text.update_all_docs()
    data.bootstrap_db()