Author: Yours Truly, Jason McElhenney.
OPERATING SYSTEM: Microsoft Windows 10
BROWSER: Google Chrome
Alright buddy. This isn't going to be the easiest thing in the world, I'll be straight up with ya. I tried to make it easy by building an executable, but it was eating time. The script is tested working on two
Windows 10
targets as of now, (those being the PCs of @zudsniper and @Osc44r) so it's very, very unlikely that the script WON'T run on your hardware.Keep that in mind as you read this guide.
I'm not going to be held responsible for any damage done to your hardware, software, or sanity. (I didn't even right that...GitHub Copilot
did. But... true.)
Starting simple. First, read this entire guide that I wrote for your employees while to make onboarding them easier.
This document goes over...
- Downloading and configuring
Git Bash
, as well as thegit
command line tool.
I'll cut you some slack on this one. Go here. Downlaod
Git for Windows
and run the installer. Follow installer steps. If you think of it, uncheckGit GUI
from automatically installing as it is a terrible program, but ultimately harmless.
- Downloading
gh
, theGitHub CLI
tool that goes along withgit
andgit bash
.
This isn't... that difficult on Windows. Go here. Download the installer and run it. Follow the installer steps.
- The concepts and principles of collaborating effectively and carefully using version contr- I can tell you're already nodding off. Fine. Don't read the rest.
- The basics of
Markdown
and how to use it to write documentation. Yeah, no idea why I finished this list but here it is.
ANYWAY, back on track. Once you've got git
and gh
installed, open git bash
AS ADMINISTATOR (right click the icon and select Run as Administrator
) and follow along.
# first we need to log you into your GitHub account.
$ gh auth login
# follow the steps that follow. You'll want to hit "Enter" a fair few times until you get a code to paste into your browser.
# Go to https://github.com/login/device and paste the code into the box.
# You'll be prompted to log into your GitHub account. Do so.
# Then BOOM. We made it. Step 1. Almost.
# FIRST, figure out where you are. In life. In the world. In the universe. In the multiverse. In the multiverse of multiverses.
# after that, you'll want to navigate to the folder you want to clone the repository into.
$ cd /c/Users/sebastian/Desktop
# you made it. Somewhere. Now clone!
$ gh repo clone spookytf/stf-scrape_tf2ez-pybuy
# done.
I hope that one was easy!
wait no no no lol you need python first
Download this. & run the installer. Version should be around 3.11.2
, but it probably is. Don't worry about that. Just install it.
... Ok just kidding, its not entirely that simple.
NOTE: Make sure to check the box that says
Add Python to PATH
. This will make it so you don't have to typepython
in front of every command you run. Also make ABSOLUTELY sure you select theinstall pip package manager
option.
Cool ok so close... Kinda.
We made it. Now we need to install the dependencies.
Throw this into the same git bash
instance which you have cd
'd into the appropriate directory wherein you've just cloned the github repository containing the python files needed to run this script.
SIMPLE.
# install the dependencies
$ pip install -r requirements.txt
# done.
Sleek. Clean. Easy. Might break.
MIGHT.
If that works out, you're good to go. If it doesn't, you're going to have to do some troubleshooting. I'm not going to be able to help you with that. I'm sorry. I'm not a wizard. I'm just a guy who wrote a script. Oh wait,
Copilot
wrote that too. I do have to help you if you get stuck. FUCK
Alrighty then buddy hold your horses, jeeeeee whizz.
We're almost there kind of. Probably.
All we have to do is run the script. NO you IDIOT!! you thought you would get to run it already? No no no no no no no no no.
We have to configure it first.
Ask me. I'll give you the config files. Lucky bastard.
you need.env
andconfig.ini
I'm not going to tell you how to run the script. You're a smart person. You can figure it out.
$ python main.py
# if that gives you trouble, try this instead
$ python -m pipreqs.pipreqs main.py
# Hopefully that is enough to get you moving and shaking. I pray to god it is.
Obviously just complain if its not working. I didn't need to tell you that one did I?
Ideally at this point when you run aforementioned command within git bash
you should see a GUI window open up.
(GUI refering to Graphical User Interface
)
If you don't see a GUI window open up, you're going to have to troubleshoot.
If everything has worked out, you should see something like this.
Congratulations! You've made it through a fair bit of tribulation, and I'm sure it took a bit of speculation on your part, or even rumination. All the while, I've been in the inner sanctem, making sure that you don't get too far ahead of yourself. I'm gonna pass the fuck out.
Goodnight Hollywood.
Goodnight.
I'm not going to be held responsible for any damage done to your hardware, software, or sanity. I'm not going to be held responsible for any damage done to your hardware, software, or sanity. I'm not going to be held responsible for any damage done to your hardware, software, or sanity. I'm not going to be held responsible for any damage done to your hardware, software, or sanity. I'm not going to be held responsible for any damage done to your hardware, software, or sanity. I'm not going to be held responsible for any damage done to your hardware, software, or sanity. I'm not going to be held responsible for any damage done to your hardware, software, or sanity. I'm not going to be held responsible for any damage done to your hardware, software, or sanity. I'm not going to be held responsible for any damage done to your hardware, software, or sanity. I'm not going to be held responsible for any damage done to your hardware, software, or sanity. I'm not going to be held responsible for any damage done to your hardware, software, or sanity. I'm not going to be held responsible for any damage done to your hardware, software, or sanity. I'm not going to be held responsible for any damage done to your hardware, software, or sanity. I'm not going to be held responsible for any damage done to your hardware, software, or sanity. I'm not going to be held responsible for any damage done to your hardware, software, or sanity. I'm not going to be held responsible for any damage done to your hardware, software, or sanity. I'm not going to be held responsible for any damage done to your hardware, software, or sanity. WOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO