Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Pythonista to Github (Noob)
-
I've made some headway on figuring out how the Scene, Scenview, and ui (touch, draw, layout) classes are working, and I have them working together.
My next venture is using the path class to draw, and also Multi-touch gestures.
One question.
Previously I posted about how to download a py.ui file (if it was not bundled with the python file).
But let's say I want make the process of sharing my .py and .pyui files, and zip them together...
I have not used github before, so what is the typical process for zipping the files from Pythonista, and uploading them to github, with the pyui file intact?
-
@TutorialDoctor With github you would not want to zip anything up. Github is used for version control, you would upload all your files and when you make a local change, you would then commit the change and push it to your github repo. You can do this with the dev branch of shellista https://github.com/transistor1/shellista/tree/dev-modular.
Git can take some getting use to so google git tutorial. However, shellista git is not fully featured. I usualy use an RPi or pc to move my code onto github.
-
For simple sharing, if you create your files in a folder, you can use the built in action menu -> Export to Gist, and choose entire folder. This creates a multi-file gist, which can be grabbed with gistcheck for example. (I forget if gistcheck supports multifile committing, or just downloading).
For true github repos, the process is currently slightly cumbersome:
-
Through github web interface, create a new repo
-
Fire up shellista
-
git clone https://github.com/user/repo.git somefolder
-
git add *
-
git commit 'your commit message' username your@email.com
-
git push
after the initial clone, you can update by steps 4-6.
-
-
Hmm, okay. I was really hoping it wouldn't be so cumbersome, but I am sure I can get it. I do plan on updating things though.
Thanks.