mlandis / phylowood

Browser-based Interactive Phylogeographic Animations
http://mlandis.github.com/phylowood/
20 stars 9 forks source link

Input from web files #5

Closed trvrb closed 12 years ago

trvrb commented 12 years ago

It would be really helpful (for general use as well as testing) to be able to point Phylowood.js at a remote file and load and run it. I'd imagine you could have a text entry box where you can enter something like http://mlandis.github.com/phylowood/examples/bayarea.eg.out and then click the same "apply" box to run. This would allow others to much more easily check out Phylowood's abilities. You could even populate the text box by default with a preferred example.

One thing that could make this easier is pushing to the gh-pages branch. Any files pushed to gh-pages show up at http://mlandis.github.com/phylowood/. In this case, renaming phylowood.html to index.html may be helpful.

trvrb commented 12 years ago

Looks like this is coming along nicely. I presume you're planning to make gh-pages the main development branch? If so, I'd recommend making it the default branch in GitHub. You can do this being going to Admin and then changing default branch from master to gh-pages.

Additionally, you may want to delete the extraneous master branch. This can be done locally with git branch -d master and done to the GitHub repo with git push origin --delete master. Also, GitHub won't let you delete the remote master branch unless you make it not the default.

trvrb commented 12 years ago

Loading from examples/ seems to do the trick.