diff --git a/README.md b/README.md index ef685a8a..774fe651 100644 --- a/README.md +++ b/README.md @@ -2,13 +2,13 @@ You can use git to clone this repository. -`git clone https://gitea.daball.me/No-Moss-3-Carbo-Landfill-Online-Library/no-moss-3-carbo-landfill-library.online.git` + git clone https://gitea.daball.me/No-Moss-3-Carbo-Landfill-Online-Library/no-moss-3-carbo-landfill-library.online.git # Installing NPM Application Dependencies You can use npm to install the dependencies. -`npm install` + npm install # Required: `yt-dlp` @@ -20,25 +20,46 @@ Installation: [https://github.com/yt-dlp/yt-dlp/wiki/Installation](https://githu # Downloading YouTube Archives -You may need to use your web browser to login to YouTube. Once there you can create a `youtube-cookies.txt` file in your -working directory. You can use the `youtube-example-cookies.txt` template here to see what it should look like: +You may need to use your web browser to login to YouTube. You can then copy each cookie value out of your web browser using the Developer Tools Network tab. Gather the correct values to build a `youtube-cookies.txt` file in your working directory using something like the `youtube-example-cookies.txt` template here: - # Netscape HTTP Cookie File - # This file is generated by yt-dlp. Do not edit. I think I might have once needed to create it first in Edge and copy my values from my logged in browser. + # Netscape HTTP Cookie File + # This file is generated by yt-dlp. Do not edit. - .youtube.com TRUE / TRUE ... GPS ... - .youtube.com TRUE / FALSE ... PREF tz=...&f6=...&f7=...&hl=... - .youtube.com TRUE / TRUE ... SOCS ... - .youtube.com TRUE / TRUE ... VISITOR_INFO1_LIVE ... - .youtube.com TRUE / TRUE ... VISITOR_PRIVACY_METADATA ... - .youtube.com TRUE / TRUE ... YSC ... - youtube.com FALSE / FALSE ... APISID .../... - youtube.com FALSE / TRUE ... PREF tz=...&f6=...&f7=... - youtube.com FALSE / TRUE ... SAPISID .../... - youtube.com FALSE / FALSE ... SID ... - youtube.com FALSE / FALSE ... SIDCC ... - youtube.com FALSE / TRUE ... __Secure-1PAPISID .../... - youtube.com FALSE / TRUE ... __Secure-3PAPISID .../... - youtube.com FALSE / FALSE ... _gcl_au ... + .youtube.com TRUE / TRUE ... GPS ... + .youtube.com TRUE / FALSE ... PREF tz=...&f6=...&f7=...&hl=... + .youtube.com TRUE / TRUE ... SOCS ... + .youtube.com TRUE / TRUE ... VISITOR_INFO1_LIVE ... + .youtube.com TRUE / TRUE ... VISITOR_PRIVACY_METADATA ... + .youtube.com TRUE / TRUE ... YSC ... + youtube.com FALSE / FALSE ... APISID .../... + youtube.com FALSE / TRUE ... PREF tz=...&f6=...&f7=... + youtube.com FALSE / TRUE ... SAPISID .../... + youtube.com FALSE / FALSE ... SID ... + youtube.com FALSE / FALSE ... SIDCC ... + youtube.com FALSE / TRUE ... __Secure-1PAPISID .../... + youtube.com FALSE / TRUE ... __Secure-3PAPISID .../... + youtube.com FALSE / FALSE ... _gcl_au ... -You can use the `sync-youtube-videos.cmd` script to download all of the YouTube videos. \ No newline at end of file +*Windows Command Prompt*: You can use the `sync-youtube-videos.cmd` script to download all of the YouTube videos. + + sync-youtube-videos.cmd + +# Updating Virginia Code + +You can update the copy of the Virginia code: + +*Windows PowerShell*: You can use the `mirror-virginia-law.ps1` PowerShell script to download all of the current Virginia code. + + mirror-virginia-law.ps1 + +# Install Docker (optional) + +Installing Docker is beyond the scope of this document. You may choose to install Docker to simplify running this web site. + +# Install Solr with Tika and Tesseract + +Installing Solr with Tika and Tesseract is beyond the scope of this document. It is the search engine I use. + +**TODO**: Document installation with Docker. + +**TODO**: Finish these instructions.