Ejemplo n.º 1
0
    dbc.Row(
        [
            dbc.Col(dbc.CardImg(
                src=
                "https://github.com/fdealbam/CamaraDiputados/blob/main/application/static/logocamara.jfif?raw=true"
            ),
                    width=4,
                    lg={
                        'size': 1,
                        "offset": 3,
                    }),
            dbc.Col(html.H6(" S e c r e t a r í a    G e n e r a l,"
                            " Secretaría de Servicios Parlamentarios, "
                            " México, 2021 "),
                    width={
                        'size': 3,
                        'offset': 0
                    }),
        ],
        justify="start",
    ),
])

app.layout = html.Div([body])

from application.dash import app
from settings import config

if __name__ == "__main__":
    app.run_server()
Ejemplo n.º 2
0
from application.dash import app
from settings import config

server = app.server
app.run_server(debug=config.debug, host=config.host, port=config.port)
Ejemplo n.º 3
0
"""Run the Dashboard"""
from application.dash import app
from settings import config

app.run_server(debug=config.DEBUG, host=config.HOST, port=config.PORT)