-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modaal demo hosted on GitHub Pages #31
Conversation
Hey @pzi, sorry we haven't responded to this, was a busy week. Dan and I tried to schedule time every day to take a look, and it's now 4pm Friday...Next week! ;) |
No worries at all. It's there for you to play with... whenever that is :) Have a nice weekend! |
@danhumaan One talking point from this is the demo page should probably be static HTML so people can download the repo and open it without having to run it on a (PHP enabled) web server. |
@cbotman i definitely agree with that |
Hey! As I mentioned in my PR, my implementation is based on Jekyll/Liquid. However, this can easily be reversed/removed and everything can be static. Up to you... Another option would be to use something like gulp-file-include or gulp-include to still get the benefit of "includes". Again, up to you how simple or complex you prefer it :) Cheers |
@pzi thanks Patrik, appreciate the contribution! once we find some time to get back into addressing the latest activity we'll look into what we can do with this and the demo page :) |
Hello again Humaans, After another discussion with @cbotman at Port80 on Wednesday I moved the demo source back to plain HTML/CSS/JS. So the Jekyll/Ruby dependency is gone now. The only thing that "stops" someone from looking at it locally now is the lack of http protocol in the vendor script links (jQuery, Google Analytics, addthis). I also realigned my branch with what's currently in Cheers |
This attribute enables and controls end-of-line normalization. When a text file is normalized, its line endings are converted to LF in the repository. Source: https://www.kernel.org/pub/software/scm/git/docs/gitattributes.html#_tt_text_tt
Rebased my branch on develop and updated the demo files (3603bdd) in this PR. |
Hey Humaans, Given I have removed the Ruby dependencies and turned 2 PHP files into a HTML and a SVG file respectively, there is really not much else holding you up from making a decision of whether this PR has a future or not. If you don't want to use If you prefer not to go ahead with anything I proposed - although, I've seen you adopt 89038c9 - just let me know and I can save myself some time trying to keep up with the rest of the codebase. Cheers |
Hey Patrik, First up thanks for your contribution here and for staying on top of it as we've been pushing out other amendments. Thanks also for your patience and my apologies it's taken us so long to get round to addressing this PR. We've decided at this point in time not to host the page on Github pages, and during the merge I hopped in an removed the relevant gulp task. I've also made a few minor tweaks to resolve merge conflicts and to relocate the index.html file as this will live easier on our current server. We're due to roll out a v0.3.1 version any time now (few minor things to address), so we can expect your contributes to roll out with that. Again, thanks for your contribution and patience. Cheers, |
Hi Humaans,
After the Port80 meetup last Wednesday and a discussion with @cbotman, I decided to spend some time and convert your demo page from PHP to Jekyll/Liquid. This means, the demo can be hosted on GitHub Pages. This may make the deployment process simpler (more of that below).
Demo
The code in this PR is currently running on a GitHub Page on my account:
gh-pages
branchChanges
As you can see in the diff, I have
.php
files tohtml
andsvg
respectively (no php ongh-pages
, so noinclude()
orsleep()
).copy-to-demo
).gh-pages
(deploy-to-gh-pages
).What needs to happen before the demo works 100%:
modaal.humaan.com.au
subdomain that points to this repository’sgh-pages
.Caveat
Just as it was a hurdle to get the demo to work locally for someone with no Apache/PHP installed, it has now shifted to a Ruby dependency. However, it could easily shift to just being HTML only (if you would go without requiring the Modaal logo and just inline it).
Alternatively, I can add a
Gemfile
with the necessary RubyGems to get it to run locally.Let me know what you think. Looking forward to your feedback and a discussion about my proposed changes.
Cheers
Patrik