Skip to content

Server-side code written in Python to store a list of my favorite movies, including box art imagery and a movie trailer URL. This data is then served to a web page using HTML and CSS allowing visitors to review these movies and watch the trailers.

Notifications You must be signed in to change notification settings

rishi-ramawat/FSND_P1-Movie_Trailer_Website

Repository files navigation

Movie Trailer Website

Simple movie trailer website to exercise some programming foundations with Python

Note: This is a solution to project 1 of the Udacity Full Stack Web Developer Nanodegree based on the course Programming Foundations with Python (ud036).

Installing Development Pre-Requisites

Installing The Project for Development / Testing on Linux

  • Clone the repository:

    $ git clone git@github.com:rishi-ramawat/FSND_P1-Movie_Trailer_Website.git
    $ cd FSND_P1-Movie_Trailer_Website
  • Initialize the project:

    $ bin/init_project
    • This shell script will create a .env file for you.
    • It will also install/upgrade python-dotenv.
  • Review .env and and configure any required variables.

    • You would need access to OMDb API if you want to test the app's interaction with it.
    • You can get the access by:
      • Becoming a Patron here.
      • Then, requesting OMDb API key access here.
    • Don't worry if you don't have the OMDb API Key (The app would still work)
      • Just comment out OMDB_API_KEY in the .env using #.

Installing The Project for Development / Testing on Windows

  • Clone the repo
  • Visit the folder where you have cloned the repo
    • Make a copy .env.example and name it as .env
    • Make sure all the required variables are present & initialized in .env
  • Make sure you have python-dotenv installed

Running the project

Run the following to generate fresh_tomatoes.html:

$ python entertainment_center.py

Project Screenshots

Simple home page where movies are laid out Simple home page where movies are laid out

Page allows users to click on a movie image to watch its trailer Page allows users to click on a movie image to watch its trailer

About

Server-side code written in Python to store a list of my favorite movies, including box art imagery and a movie trailer URL. This data is then served to a web page using HTML and CSS allowing visitors to review these movies and watch the trailers.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published