title: Deploy Dash with assets folder to AWS Elastic Beanstalk
body: <p>I was wondering if anyone would be able to advise me on how to upload a Dash app to elastic beanstalk.</p>
  <p>I understand from various peoples blogs to ensure that I need:</p>
  <pre><code>application = app.server
  
  if __name__ == '__main__':
  application.run_server(debug=True,port=8080)
  </code></pre>
  <p>Then I need to freeze the requirements using pip freeze &gt; requirements.txt and zip all the files and upload to AWS Elastic Beanstalk. In all the explanations they have very simple applications with only a single file and that have no &quot;assets&quot; folders containing css files or no connected databases</p>
  <p>I was wondering what the process is when you have an assets folder containing various images and css folders of styles etc. I have also connected a RDS database already set up using the URI with sqlalchemy. The app works perfectly when it is on my local machine. I tried zipping every individual file but it has not worked and I am getting quite desperate. I understand that Dash looks for the &quot;assets&quot; folder. Structure found below:</p>
  <p><a href="https://i.stack.imgur.com/6GzYk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6GzYk.png" alt="enter image description here" /></a></p>
  <p>Thank you very much for your help in advance. If anyone could highlight the exact steps I need to do I would very much appreciate it. I am very new to this.</p>
  <p>Regards</p>