Uploading binary is allowed for releases, which is a kludgy way of getting 
images onto github.

For example, I forked the repo, marked it as release v0.0.2 and uploaded an 
image. This then gave me a link to the image I could embed in a post, like so:

http://drlabratory.github.io/training-course/2014/11/attempt-to-attach-image/

Source here:

https://github.com/drlabratory/training-course/blob/gh-pages/_posts/2014/11/2014-11-05-attempt-to-attach-image.md

Submitting pull request against the swc repo doesn’t appear to bring my 
releases with it, however, which means the image is stuck in my repo.

--
Jeramia J. Ory, Ph.D.
Associate Professor of Biology
Health Professions Advisor
King's College
(570) 208-5900 x5701
http://drlabratory.com

> On Jan 29, 2015, at 7:54 AM, Greg Wilson <[email protected]> 
> wrote:
> 
> We've been using a WordPress blog (at http://teaching.software-carpentry.org) 
> to manage the online instructor training course for the last two years.  I'd 
> like to switch to a GitHub Pages blog, and thanks to some heavy lifting from 
> Andrea Bedini and Pauline Barmby, we've moved the content over: see 
> http://swcarpentry.github.io/training-course/.
> 
> But there are a couple of issues:
> 
> 1. We don't want people to have to master Git right at the start of the 
> training course - they should be able to drive it by the time they're done, 
> but it will be a barrier to entry if we put it at the beginning.
> 
> 2. The repo is very large: slightly over 1.1 GByte when checked out, thanks 
> primarily to image files.  People complained about the size of the 'bc' repo 
> when it was a tenth as big...
> 
> Using a separate repository for each future run of the training course will 
> solve #2.  #1 is the bigger problem.  I thought the solution would be for 
> people to create and edit pages using GitHub's browser interface 
> (https://github.com/blog/1327-creating-files-on-github), but I discovered 
> last night that there doesn't appear to be a way to upload images through the 
> web interface, which will make things like the concept map exercise difficult.
> 
> So:
> 
> 1. Is there a way to upload images to GitHub through the browser, rather than 
> add/commit/push ?
> 
> 2. If not, could I have half a dozen volunteers to give some over-the-web 
> one-to-one coaching to Git novices who are starting instructor training next 
> week?  They'll need the coaching between Feb 5 and Feb 11.
> 
> As always, if there's a better option that I've missed, I'd be grateful for 
> pointers.
> 
> thanks,
> Greg
> 
> -- 
> Dr. Greg Wilson    | [email protected]
> Software Carpentry | http://software-carpentry.org
> 
> 
> _______________________________________________
> Discuss mailing list
> [email protected]
> http://lists.software-carpentry.org/mailman/listinfo/discuss_lists.software-carpentry.org


_______________________________________________
Discuss mailing list
[email protected]
http://lists.software-carpentry.org/mailman/listinfo/discuss_lists.software-carpentry.org

Reply via email to