예제 #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
파일: __init__.py 프로젝트: wbez/debates
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()