Prerequisites
- Download node https://nodejs.org/en/download/
- Open
terminal.app
and typegit --version
, which will either show a version or ask you to install. If it asks to install, follow. - Verify both above installed by typing
node --version
(make sure it shows some kinda version). Then typegit --version
(make sure it shows some kinda version)
Initial Instructions
- Open terminal.app
- Go to your desktop, by going to
cd ~/Desktop
- Clone this repo, by running
git clone https://github.com/GioLogist/limit-bot-playground.git
- Go into the repo,
cd limit-bot-playground
- Install "dependencies" (libraries that provide functions and shit your code needs), run
npm i
- Open
finder
and go to Desktop > limit-bot-playground > index.js - Edit the
shitYoureCheckingFor
variable, set it to w/e time is the next minute coming up - Now run your script, run
node index.js
and you should see notifications telling you what's happening. It'll take 10 seconds and run every 10 seconds after - Optional Download vscode and open the
limit-bot-playground
.
Forever instructions
- Open
terminal.app
- Go to this project/repo folder
cd ~/Desktop/limit-bot-playground
- Optional Update the code
git pull -r
- Run the script
node index.js
- Get creative, break it, edit all the variables, fuck it up. Put it back together. Worst case, just delete the folder and repeat initial instructions.
Things to look out for
-
Whenever running
node index.js
, make sure you're already in the repo folder (limit-bot-playground). You can ensure this by typingcd ~/Desktop/limit-bot-playground
in terminal -
If you get an error, GOOGLE THE ERROR. That's half the battle