Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
NullDev authored Dec 2, 2024
1 parent fea084b commit b68ca2a
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,12 @@ $ `node -v` <br>
If this returns a version number, NodeJS is installed. **If not**, get NodeJS <a href="https://nodejs.org/en/download/package-manager/">here</a>. <br><br>
2. Clone the repository and navigate to it.<br>
$ `git clone https://github.com/NullDev/Advent-of-Code.git && cd Advent-of-Code` <br><br>
3. Check out the template branch in your fork from my remote. (IF YOU SEE THIS: YOU ARE ON THE **WRONG** BRANCH)<br>
$ `git checkout -b template origin/template` <br><br>
4. Push your newly created branch and make sure to set it as your default branch on GitHub (`REPO/settings/branches`). <br><br>
5. Install all dependencies by typing <br>
3. Install all dependencies by typing <br>
$ `npm install`<br><br>
6. Remove all years that weren't made by you (if all: `rm -r "./20*"`) and maybe alter the README<br><br>
7. Copy `config.template.json` and paste it as `config.json`<br><br>
8. Go to https://adventofcode.com/ and login with your account. Then copy the value from the `session` cookie and paste it into the `config.json` file (See [here](https://www.cookieyes.com/blog/how-to-check-cookies-on-your-website-manually/) if you don't know how).<br><br>
9. (OPTIONAL) If you wish to use the GitHub Action for the "Prepare Day automatically at 0:10 workflow" you need to go to your repository settings -> secrets -> actions and add `SESSION_COOKIE` with your session string. <br><br>
4. Remove all years that weren't made by you (if all: `rm -r "./20*"`) and maybe alter the README<br><br>
5. Copy `config.template.json` and paste it as `config.json`<br><br>
6. Go to https://adventofcode.com/ and login with your account. Then copy the value from the `session` cookie and paste it into the `config.json` file (See [here](https://www.cookieyes.com/blog/how-to-check-cookies-on-your-website-manually/) if you don't know how).<br><br>
7. (OPTIONAL) If you wish to use the GitHub Action for the "Prepare Day automatically at 0:10 workflow" you need to go to your repository settings -> secrets -> actions and add `SESSION_COOKIE` with your session string. <br><br>

### :sunny: Starting a new day

Expand Down

0 comments on commit b68ca2a

Please sign in to comment.