How do I get a mod on GitHub?
- Phoenixflo44
- Member
- Posts: 639
- Joined: Fri Jul 28, 2017 15:01
- In-game: EvilPhoenix
- Location: Behind my PC, in Germany
How do I get a mod on GitHub?
This may sound a bit weird but I don't know how to upload a mod or map there. Can explain to me a step by step. But please just here. Because I don't get along on the page myself because everything is in English.
Greetings Phoenixflo44
Greetings Phoenixflo44
Spoiler
I hate my life
- Hamlet
- Member
- Posts: 766
- Joined: Sat Jul 29, 2017 21:09
- IRC: H4mlet
- In-game: Hamlet
- Location: Lombardy, Italy
Re: How do I get a mod on GitHub?
Try this: https://git-scm.com/book/de/v2Phoenixflo44 wrote:This may sound a bit weird but I don't know how to upload a mod or map there. Can explain to me a step by step. But please just here. Because I don't get along on the page myself because everything is in English.
Greetings Phoenixflo44
The first chapter is in German, it might be helpful to understand the basics.
My repositories: Codeberg.org | My ContentDB's page
- Krock
- Developer
- Posts: 4650
- Joined: Thu Oct 03, 2013 07:48
- GitHub: SmallJoker
- Location: Switzerland
- Contact:
Re: How do I get a mod on GitHub?
Don't upload large binary data to git. It's only suited for source code and rare changed, small binary files. The reason for that is because git keeps all the changes in its history, which makes change reverting (undoing) possible. Instead, consider using a fast and reliable web hoster to upload your world in an archive file.
Here are some DuckDuckGo results of pages with German explanations:
Command line: https://rogerdudler.github.io/git-guide/index.de.html
Command line: https://www.youtube.com/watch?v=hSbJaIdqwKg
TortoiseGIT: http://www.informatik.uni-leipzig.de/~g ... ByStep.pdf
Here are some DuckDuckGo results of pages with German explanations:
Command line: https://rogerdudler.github.io/git-guide/index.de.html
Command line: https://www.youtube.com/watch?v=hSbJaIdqwKg
TortoiseGIT: http://www.informatik.uni-leipzig.de/~g ... ByStep.pdf
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
- Phoenixflo44
- Member
- Posts: 639
- Joined: Fri Jul 28, 2017 15:01
- In-game: EvilPhoenix
- Location: Behind my PC, in Germany
Re: How do I get a mod on GitHub?
That didn't help me anymore I still don't understand it
Spoiler
I hate my life
Re: How do I get a mod on GitHub?
First create a new Repository.
There is a Upload files button near the green Clone or Download button.
There is a Upload files button near the green Clone or Download button.
- rubenwardy
- Moderator
- Posts: 6978
- Joined: Tue Jun 12, 2012 18:11
- GitHub: rubenwardy
- IRC: rubenwardy
- In-game: rubenwardy
- Location: Bristol, United Kingdom
- Contact:
Re: How do I get a mod on GitHub?
Don't use the upload files button, it's the wrong approach for gitLejo wrote:First create a new Repository.
There is a Upload files button near the green Clone or Download button.
I suggest downloading the Github Desktop client and using that. Create a repository which is the mod directory - init.lua should immediately be in that dir. Learn what commits are and what push and pull means, and you're good to go. Do not upload zips on git
- Linuxdirk
- Member
- Posts: 3219
- Joined: Wed Sep 17, 2014 11:21
- In-game: Linuxdirk
- Location: Germany
- Contact:
Re: How do I get a mod on GitHub?
Better install the regular Git application and learn the most basic git commands.rubenwardy wrote:I suggest downloading the Github Desktop client and using that.
- rubenwardy
- Moderator
- Posts: 6978
- Joined: Tue Jun 12, 2012 18:11
- GitHub: rubenwardy
- IRC: rubenwardy
- In-game: rubenwardy
- Location: Bristol, United Kingdom
- Contact:
Re: How do I get a mod on GitHub?
That is better but come on, be realistic
- Linuxdirk
- Member
- Posts: 3219
- Joined: Wed Sep 17, 2014 11:21
- In-game: Linuxdirk
- Location: Germany
- Contact:
Re: How do I get a mod on GitHub?
I am. There is absolutely no complicated thing in installing and using Git. Even on Windows.rubenwardy wrote:but come on, be realistic
GitHub gives copy&paste-able lines to initialize a repository and do the first commit. After this for the most basic usage you literally need two commands (git commit -a and git push) to have your stuff versioned by GitHub and get automatic public availability.
- rubenwardy
- Moderator
- Posts: 6978
- Joined: Tue Jun 12, 2012 18:11
- GitHub: rubenwardy
- IRC: rubenwardy
- In-game: rubenwardy
- Location: Bristol, United Kingdom
- Contact:
Re: How do I get a mod on GitHub?
For us it's easy, not so much for someone less technically competent
- Linuxdirk
- Member
- Posts: 3219
- Joined: Wed Sep 17, 2014 11:21
- In-game: Linuxdirk
- Location: Germany
- Contact:
Re: How do I get a mod on GitHub?
But you realize we talk about people who are able to program in Lua, right?rubenwardy wrote:For us it's easy, not so much for someone less technically competent
-
- Member
- Posts: 58
- Joined: Wed Aug 03, 2016 08:09
- GitHub: SlackCoyote
- In-game: SlackCoyote
Re: How do I get a mod on GitHub?
Everything written in English at 99% was translated to Deutsch.
Slackware64 14.2, MT 0.4.16. My best mod.
Re: How do I get a mod on GitHub?
Can I download current mods, games and textures with "apt upgrade" on the terminal somehow?
Thanks!
Thanks!
Re: How do I get a mod on GitHub?
Strange advice for those who can not download from github...
The easy way: Download zip file, unzip, and put the folder in the appropriate location in the Minetest folder.
The Minetest folder has folders like games, mods, textures, worlds... it is.
games = subgames, worlds = maps
Don't worry.Phoenixflo44 wrote:That didn't help me anymore I still don't understand it
The easy way: Download zip file, unzip, and put the folder in the appropriate location in the Minetest folder.
The Minetest folder has folders like games, mods, textures, worlds... it is.
games = subgames, worlds = maps
- Phoenixflo44
- Member
- Posts: 639
- Joined: Fri Jul 28, 2017 15:01
- In-game: EvilPhoenix
- Location: Behind my PC, in Germany
Re: How do I get a mod on GitHub?
I meant I don't know how to upload a mod on GitHub. I've been downloading for a long time, just like unpacking.
Spoiler
I hate my life
- Linuxdirk
- Member
- Posts: 3219
- Joined: Wed Sep 17, 2014 11:21
- In-game: Linuxdirk
- Location: Germany
- Contact:
Re: How do I get a mod on GitHub?
Actually it is incredibly easy to do the basic things with Git. When using GitHub it is even more easy.Phoenixflo44 wrote:I meant I don't know how to upload a mod on GitHub. I've been downloading for a long time, just like unpacking.
First step is installing Git on your computer. Install it like any other application. Then you go to GitHub and create a new repository. This gives you a set of commands you need in order to actually "set up" the repository on your computer. Run the commands in the directory where your mod is located (on Windows: Shift+rightclick the folder and select "Open Command Prompt here").
Oh, by the way: GitHub's own help pages are fantastic. Start here: https://help.github.com/articles/create-a-repo/
After doing all the initial stuff there are literally two commands you need on a daily basis: git commit -a let's you commit all changed files (combine with -m "message" to add a commit message, otherwise the editor will open and let you write a message there) and git push sends the committed changes to the server. You can commit as many changes you want before pushing them to the server. I usually code and commit some time and when I'm done with everything I want to achieve for the day I push the changes to the server.
For adding new files to the repository copy them where you want within the repository's folder and run git add path/to/file.name or git add path/to/folder to add all files within that folder at once. Don't worry, you can run the commands as often you want, git adds the stuff only once. After doing the initial stuff shown by GitHub you need to add the files of your mod to the repository. Run git status to see what Git currently knows about the repository in relation to the files it has access to.
For deleting files, well, simply delete them. Even if git has some functions for that it also takes care of this automatically when committing the changes (you should commit changes after every larger action like adding/removing files or implementing a new feature).
You should do it right from the beginning on, so read here before starting to commit changes: https://chris.beams.io/posts/git-commit/
See here for the awesomely great Github docoumentation.
https://help.github.com/articles/adding ... mand-line/
https://help.github.com/articles/pushing-to-a-remote/
See here for a fun little live-demo/tutorial: https://try.github.io/levels/1/challenges/1
- LMD
- Member
- Posts: 1400
- Joined: Sat Apr 08, 2017 08:16
- GitHub: appgurueu
- IRC: appguru[eu]
- In-game: LMD
- Location: Germany
- Contact:
Re: How do I get a mod on GitHub?
1. Create a GitHub account
It's quite easy :
- first, open a terminal. Press Strg+Alt+T on Ubuntu.
- then, type : cd "/home/<username>/pfad/zu/ordner"
- afterwards type git init to init repo. Specify "origin"(=online repo where you wanna upload it) by : git remote add origin https://github.com/<username>/<reponame>
- now : git add . to stage all files for commit
- finally : git commit -m "Uploading all files" to create commit
- to upload it : git push origin master -f to force upload
Voila !
Tell me if it doesnt work.
It's quite easy :
- first, open a terminal. Press Strg+Alt+T on Ubuntu.
- then, type : cd "/home/<username>/pfad/zu/ordner"
- afterwards type git init to init repo. Specify "origin"(=online repo where you wanna upload it) by : git remote add origin https://github.com/<username>/<reponame>
- now : git add . to stage all files for commit
- finally : git commit -m "Uploading all files" to create commit
- to upload it : git push origin master -f to force upload
Voila !
Tell me if it doesnt work.
Who is online
Users browsing this forum: No registered users and 9 guests