Netflix Data analytics
here.
Live Web-App availableData source:
You can get the dataset here.
Installation:
Simply run pip install -r requirements.txt to install the necessary dependencies.
Usage:
- Navigate to the directory where you have cloned this entire branch contents.
- Run the command: python app.py and your webapp will load in your default browser.
Final Plotly Webapp would look like this in your favourite web-browser 😉 :
Running the Dockerized App
- Ensure you have Docker Installed and Setup in your OS (Windows/Mac/Linux). For detailed Instructions, please refer this.
- Navigate to the folder where you have cloned this repository ( where the Dockerfile is present ).
- Edit app.py by changing line 304 from app.run_server(debug=True) to app.run_server(host='0.0.0.0',debug=True).
- Build the Docker Image (don't forget the dot!! 😄 ):
docker build --tag netflix_app .
- Run the docker:
docker run --publish 8000:8080 --detach --name app netflix_app
This will launch the dockerized app. Navigate to localhost:8000 in your browser to have a look at your web application. You can check the status of your all available running dockers by:
docker ps