Skip to content

nganani/Movies-Project

 
 

Repository files navigation

Movie Website - Udacity Project

The Movies Website is a single page, dynamic web page showing some of my favorite movies, featuring six tiles that play movie trailer one clicked. The website was developed as part of Udacity's full stack web developer nanodegree program.

Getting Started

These instructions will get you a copy of the project up and running on your local machine.

Installing

In order to run the website on your local machine, you will need the following:

  • Install Python. Should be preinstalled for Mac users. Run python --version on your terminal (Mac) or Command Prompt (Windows) to verify
  • Clone or download this repository to your machine. For example: git clone https://github.com/nganani/Movies-Project
  • On terminal/command prompt, move to the newly created folder 'Movies-Project', using cd Movies-Project
  • Using ls (Mac), or dir (Windows), ensure the folder contains the following files:
.gitignore
entertainment_center.py
fresh_tomatoes.py
media.py
Movie-Project-1.png
README.md

Please note that .gitignore may not show up, as on Mac OS-X for example, files starting with . are hidden by default

Running the site

In order to test run the movie site, run python entertainment_center.py while you are in the Movies-Project folder, using Mac's terminal or Windows' command prompt.

Your default browser should open with the following page showing:

Movie Page - 6 tiles

Known issues

Mac users only: Even though the default browser opens and everything is working fine, you may notice a error when you go back to the terminal saying something like:

$ python entertainment_center.py 
0:95: execution error: "file:///Users/your-username/.../Movies-Project/
fresh_tomatoes.html" doesn’t understand the “open location” message. 
(-1708)

This is a known issue, probably caused due to 'problem in the Python standard library and with its interaction with the macOS latest updates'. see here for more info.

Built With

Versioning

I used SemVer for versioning. For the versions available, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.

License

CC0

To the extent possible under law, Nir Ganani has waived all copyright and related or neighboring rights to his part of the work.

Acknowledgments

  • Many thanks to Adarsh and Udemy for creating this course and the supporting materials