PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Wednesday, July 13, 2022

[FIXED] How to deploy a plotly-dash app on a company internal server so that only company workers can use it?

 July 13, 2022     plotly-dash, python, web-deployment     No comments   

Issue

I am doing a project for a company where I work. I created a Python Dash app on my work laptop using Jupyter and it works fine. Now I want to deploy the app on the company's local server, so I need all users in our company to be able to view it. But I don't want to use any web-based service (Heroku, etc.) as the data is confidential and sensitive. So, I want it to run from the local server and be accessible by anyone that wants to use it within the company.

What is the way of doing this?

In order to run the app I am using code below.

# Run the app

if __name__ == '__main__':
    app.run_server(debug=True) 

Solution

Updated:

Finally I found a solution to my question above. Basically you can use below code in your terminal:

 waitress-serve --host=0.0.0.0 --port=8080  appname:app.server

Here you use your own host and port numbers.



Answered By - Nariman Pashayev
Answer Checked By - Robin (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing