I create the following small app with Dash 1.4.0 and Flask 1.0.2, please find it below. I was able to deploy it to Centos Apache server, it starts but the only stuff I get is a loading page, in browser console I see that some components are absent, please see printscreen (I deleted ip of my server in the picture), what should I do to solve the issue? On my PC it works without any problem.
Please help!
Console in Chrome browser:
Code:
I create the following small app with Dash 1.4.0 and Flask 1.0.2, please find it below. I was able to deploy it to Centos Apache server, it starts but the only stuff I get is a loading page, in browser console I see that some components are absent, please see printscreen (I deleted ip of my server in the picture), what should I do to solve the issue?
Console in Chrome browser:
This is my WSGI File:
import sys
import os
activate_this = '/var/www/mosregwebsite_dash_plot/env/bin/activate_this.py'
with open(activate_this) as file_:
exec(file_.read(), dict(__file__=activate_this))
sys.path.insert(0, '/var/www/mosregwebsite_dash_plot/')
from mosregwebsite_dash_plot import server as application
This is setup.py
from setuptools import setup
setup(
name='mosreg_webscrap_website',
version='1.0.0',
packages=[''],
url='',
license='',
author='kozyrev.av',
author_email='kozirev8@gmail.com',
description='This is website which display processed information from mosreg website',
install_requires=[
'dash==1.4.0',
'Flask-Caching==1.7.2',
'mysql-connector==2.2.9',
'mysql-connector-python==8.0.16',
'flask==1.0.2'
]
)