Important: these steps assume you're using the cs department servers
- Clone the repo inside the
~/public_htmldirectory. This way we do not need to keep copy and pasting our PHP files back and forth between the repo and the public directory. - Create a copy of
environment.sample.phpand rename toenvironment.php.- Fill in the environment variables with your correct CWL and student number
- Note these are the exact same credentials used in tutorial 7 in the php file
- Go to https://www.students.cs.ubc.ca/~(CWL_ID)/project_f0w2b_g4f2b_w2h3b/zoo.php to see the file
- notice how it uses our repo directory in the URL
- Make sure there is sufficient data to express the query well enough, if not add insert statements
- Once you are happy with the changes made, checkout to a new branch.
- Add a screenshot of your query results to the PDF
- Add description in PDF of the query you used
- Commit and push your changes.
- Create a PR (pull request) and tag all of us to review your PR