Skip to content

Latest commit

 

History

History
62 lines (46 loc) · 1.57 KB

README.md

File metadata and controls

62 lines (46 loc) · 1.57 KB

Getting started with Project 2

Install q in order to run SQL directly on TSV files:

$ sudo apt update
$ sudo apt install python3-q-text-as-data

Fork the GitHub cpsc349-project2 repository, then clone your forked repository locally:

$ git clone https://github.com/USERNAME/cpsc349-project2.git

Download the Unsplash Lite dataset and extract some pet photos:

$ cd cpsc349-project2/unsplash
$ make

Install and start Eleventy, Browsersync, and the Tailwind CLI:

$ cd ..
$ npm install
$ npm start

Open the newly generated site.

To publish the site, enable GitHub Pages for the repository, set the source for the site to the /docs folder in the main branch, then run the publish script, commit the update, and push the repository:

$ npm run publish
$ git add docs
$ git commit -m 'Publishing site updates'
$ git push origin main

To check the deployment results, click the Environments link on the right-hand side of the page.