(This project is part of Udacity's FullStack web development Nanodegree) Fresh Tomatoes Movie Trailer Website Is a place where you can watch trailers of my favourite movies. To watch a trailer you need to click on movie poster and the trailer for it will pop up right there.
This project includes following python files:
- entertainment_center.py
- media.py
- fresh_tomatoes.py
Thou the latest version of Python is Python 3.6.4. but since this website has been created in Python2 so for this website to run successfully you might need to instal Python2 on your system if you never before installed any version of Python before.
To run Fresh Tomatoes Movie Trailer Website Follow the steps below:
-
Download this project from github, unzip the downloaded zipped folder and make sure you save all these files in one place or folder and remember where you are saving the files
-
After that download Python2.
-
After Downloading and installing Python on your system.
-
Search for IDLE from start menu (IDLE is a GUI of an integrated development environment for Python).
-
Now when you are in Python shell, Goto File -> Open -> look for downloaded(unzipped) folder.
-
Open "Nanodegree-Project1-master" folder and select "entertainment_center.py" and click on Open.
-
Now you will see entertainment_center.py file opened on your desktop.
-
From inside entertainment_center.py file, hit
f5
key OR click onRun
and then click onRun Module
. -
Now your website should be opened successfully in your web browser.
If you want to add new movies to this website follow the steps below
- Goto entertainment_center.py
- Create new instance for Movie class as shown below
kingsman = media.Movie(
"Kingsman: The Golden Circle", <!-- Title for your movie -->
"It's James Bond On Laughing Gas.", <!-- Story line for your movie which appears right below the movie poster -->
"https://goo.gl/g3gh53", <!-- youtube trailer link for your movie -- >
"https://youtu.be/6Nxc-3WpMbg") <!-- poster image for your movie -->