Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 1.51 KB

my-first-python-app.md

File metadata and controls

19 lines (14 loc) · 1.51 KB

"Run the App" Exercise (My First Python App Version)

See the "Run the App" Exercise description.

Instructions

  1. Visit the Professor's "My First Python App" repository, which contains a simple command-line application. We'll refer to the Professor's repository as the "upstream repository".
  2. Click "Fork" to copy the repo under your own control. We'll refer to your forked copy as the "remote fork", otherwise known as the "origin repository".
  3. Follow the instructions in the repository's "README.md" file to install, setup and run the Python code contained inside:
    1. Use your Git client to "clone" (download) the remote fork onto your local machine, perhaps onto the Desktop. We'll refer to this as the "local repository".
    2. Use the command-line to navigate to the local repository (using one or more cd commands).
    3. Use the conda utility to create a new virtual environment with the specified version of Python, then activate the virtual environment.
    4. Use the pip utility to install any required third-party packages specified in the repo's "requirements.txt" file.
    5. Use a ".env" file approach to set an environment variable to customize the user name.
    6. Use the python utility to run the Python file(s).

Success Criteria

Once you have run the app, you will have succeeded. Repeat steps 3.5 and 3.6 (change the environment variable value and re-run the program) at least one more time for good measure.