#(BillGates) github

93 messages · Page 1 of 1 (latest)

signal lichen
#

setting up github thing

urban juniperBOT
#

(BillGates) github

urban juniperBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>

signal lichen
#

so, tryna clone the repo, this shows up

#

i already have an empty folder with dCommands name that was created automatically

wheat pebble
#

it says the folder contains files

#

are you sure it's empty?

turbid epoch
#

there's a chance that it already created a repo there

signal lichen
#

on my pc its empty

turbid epoch
#

can you screenshot the whole window

signal lichen
#

on the actual github page it has things

turbid epoch
#

like your github desktop thingy

signal lichen
turbid epoch
#

in the upper left corner

wheat pebble
#

yeah you have it already lol

turbid epoch
#

there's already the repo

wheat pebble
#

if theres files upstream already (you said there are) you just need to pull them now

#

but idk what an unborn head is

#

might try clicking that dropdown list with publish branch?

#

github desktop tries to make it all really easy

signal lichen
turbid epoch
#

can click on Repository tab

#

and pull

signal lichen
#

not clickable

#

o.O

wheat pebble
#

how did you add it the first time? O.o

signal lichen
#

not entirely sure, it just happened

turbid epoch
#

probably automatically

#

I think

signal lichen
#

yeah probs

turbid epoch
#

GitHub Desktop is linked with your github profile

#

soo

wheat pebble
signal lichen
#

that worked

#

how would i go about changing the file?

turbid epoch
#

your script file?

signal lichen
#

yeah, do i change it directly with github, or do i have to re-upload it every time?

turbid epoch
#

that's called "commit"

#

you edit the file locally

#

and can then commit it

#

which will be then "uploaded" to github

signal lichen
#

so, this thing?

turbid epoch
#

yes that

#

but, as for now, you can't test the script right?

#

because it's in a GitHub/dCommand folder

signal lichen
#

yeah

turbid epoch
#

so what you can do is

#

creating a local test server for that specific project

#

and then symlink the script folder to your dCommands folder

#

which contains the script

signal lichen
#

wot

turbid epoch
#

in short: with symlink you make your minecraft server think, Documents/GitHub/dCommands is the Denizen/scripts folder

wheat pebble
#

||or just use the script folder itself as your repo and live like chaos :D||

turbid epoch
#

bonks behr

#

chaos not good

signal lichen
#

couldnt i just test the script like normal, and then only send it to github when its alr done?

wheat pebble
#

yeah

turbid epoch
#

yeah, you can do that too lol

wheat pebble
#

only difference is you dont have to move the file later lol

signal lichen
#

thats way easier lmao

turbid epoch
#

you end up having more work

#

when you decide to reconstruct your script and use less files

#

you have to delete them manually

signal lichen
#

maybe later i'll try doing that, now im struggling even with the ui

wheat pebble
#

its a tiny learning curve, youll get it

turbid epoch
#

ye

wheat pebble
#

short lived

signal lichen
#

also i didnt get how the commit thing worked, i dont seem to be able to send files there

signal lichen
turbid epoch
#

edit your dCommands.dsc

#

make a change to it

#

and then save the file

#

you will then see stuff like this

#

under changes

signal lichen
#

oh man! vscode already does that by itself

turbid epoch
#

Yeah, vscode can do it too

signal lichen
#

thats cool

#

i think i got the hang of it

turbid epoch
#

that stuff is really helpful to keep track to your changes

turbid epoch
# turbid epoch in short: with symlink you make your minecraft server think, Documents/GitHub/dC...

here's a little manual for dis

  1. Create a local test server and install Denizen
  2. Delete the scripts folder in /plugins/Denizen
  3. Open your command line as administrator (search cmd in windows search, right click it, run as administrator)
  4. Navigate to your /plugins/Denizen folder via cd C:\path\to\testserver\plugins\Denizen
  5. and create the symlink via mklink /D scripts C:\Users\YourNameICantType\Documents\GitHub\dCommands

when you start your server up, it will look for the script files in dCommands

zenith spade
# signal lichen

You probably have Hidden files enabled in your windows explorer settings

#

these 3 settings changes are imo basically obligatory any time you set up a new winderps install

#

show hidden, un-hide extensions, un-hide os files

signal lichen
#

did it like the photo, suddenly a .git folder appeared

but the script file not opening i fixed by deleting the folder and recloning