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
Move from Heroku to Github Pages #153
Comments
First thanks a lot for the job done. Do you have a task list of missing stuff for this new version? |
@benoittgt not at the moment. I have not inspected the demo very much. I will add a checklist to the parent comment before next week. |
@benoittgt I finally added the checklist to the master comment! @andreareginato I found out that Gitbook now allows for discussion boards and in-line comments for a publication.
I know I was extremely excited about the Jekyll site. I just wanted to know your thoughts on this new thing I found. |
I think Gitbook is pretty awesome and simple. |
@franzejr yes, gitbook is good. IIRC, there were other OSS alternatives out there, but I cannot find which ones. If you do, let me know so I can review them as well. I think anything like Gitbook would allow for quicker releases, and less worrying about the design. (Which is the current hold-up) @akz92 - I want to say thank you for all you have done porting the site so far to Jekyll. Unfortunately, I have not had time to really rummage through it or launch locally. I would like you know you and @andreareginato thoughts on Gitbook. Like I just said, it would mean less time worrying about design details and more time thinking about content. |
Positives of Gitbook are that it looks nice and would enable free downloads of the contents as eBooks and PDFs, which some users would I'm sure like. Downside is that Gitbook/GitHub integration is only one way. When any change is made to the Github repo, it will automatically propagate to the Gitbook. And, using the GitBook editor will make changes to the Github repo. But, these changes will not be automatically compiled into HTML usable by Github Pages to actually display the website. To update the website would require an additional step of an authorized committer re-rendering the webpages and uploading to Github. By contrast, a Jekyll back-end will automatically update Github Pages on every commit. It does seem possible to setup a Travis post-commit hook that would automatically render the Github Pages HTML and commit them back to the repo, as documented. But that would be some meaningful additional work. |
@dankohn git hooks are on my list of things to learn. My comment from 11/09 suggests we would use Gitbook instead of Jekyll. However, if Gitbook limits the design customization (no response from them yet), then a Github Pages site would still be handy. If we need these git hooks, you are welcome to help us out. I would add you as a collaborator etc at that point. |
I believe you should choose either Gitbook or Jekyll for the back-end of the website, and should use Github Pages to actually serve the HTML. I think you could make either work. Jekyll would be much easier to setup. Gitbook would also produce PDFs and eBook formats. |
It does seem possible to host the site on Gitbook instead of Github Pages, using the existing custom domain, as described here: https://help.gitbook.com/platform/domains.html My hesitancy is that Github Pages is one of the most reliable hosting platforms in the world, but for this application, it probably doesn't matter. |
@dankohn is it possible to have Gitbook fetch only certain partials from the Jekyll site? Such partials would be just markdown, and easy to translate to both formats. Maybe even have Gitbook point to a particular branch, if possible. |
Anything is possible, but Jekyll and Gitbook do not use identical flavors of Markdown, so this is harder than it looks. I strongly recommend picking one or the other as the back-end format. |
@dankohn thank you for your insight. I brought Gitbook up because I am personally moving away from Jekyll (with my blog), and I like the documentation-style of it. In regards to Markdown, I know you can specify the flavor in Jekyll, such as GFM (which Gitbook supports). If, at the end of the day, Gitbook only provides the PDF/ebook feature, we could find an alternative route within Jekyll (or a different generator altogether). Basically, the end-user can always view the Markdown generated file in Github, and print off from there. The issue with that is Liquid syntax (which powers Jekyll) does not render nicely on Github. (It's mainly used for syntax highlighting.) |
@onebree sorry for the really long delay to answer. I had never seen GitBook, I visited a few pages and it looks good for documentation purpose but personally I believe it isn't the best alternative for betterspecs. Using GitBook we won't need to worry about design but betterspecs design is done, I don't think it will be a problem. On top of that, the Jekyll version is almost done and it solves the main problem of the project. |
Hi everyone. Next week (probably on Monday) I'll take one day off to move betterspecs.org to Github pages and to give it a new restyle. This should make changes easier for the community. I would love to ask @onebree (which is greatly maintaining the site) to give me all the info I need, not missing any update (for what can be possible). Thanks everyone. |
@andreareginato Right now, @akz92 has a demo of the site in Jekyll. I have not looked at it much, however. An alternative to Jekyll/GH Pages is this, which can easily be styled with the current color scheme. https://github.com/jeromegn/DocumentUp It has a GH pages guide, and the Once the site is ported over to GH pages, information needs to be updated for Rails 4 and RSpec 3. This is greatly important as Rails 5 is in beta. |
@andreareginato feel free to use any code of my port. I'll be glad to help if there's something I can do. |
@andreareginato if you do use @akz92's port, I think it would be best to push his commits to a temp branch on github. Then he will still get credit in the commit history for his work :-) |
Hi everyone. A draft for the new version of Better Specs is up and running. New features.
Todo before releaseI would love to ask @onebree, @akz92 (thanks for the initial porting), @dankohn, @benoittgt and all better specs community to take some time, if possible, to close the last needed task before going online with the new version, which regards to the translations.
Unluckily I'll not have the time to make them all, and I thought about asking your help. Nice to haveThere is also nice to have todo list (see below) which is not mandatory for the release, but that list some important things I guess we should take in consideration pretty soon.
Let me know what do you think guys. |
Overall@andreareginato I absolutely love what you've done! I think the sidebar can remain dark, as well as code samples, but I would like to see a light page background. It adds some contrast, and is easier on the eye (all dark parts are blocked out then, not blending into the background). Commenting
Personally, I would go with Google Groups or Discourse. Either way, I can help push all existing issues to the new platform, and pretty much summarize what everyone has said. MarkdownEdit -- Master branch uses Nanoc, while the proper According to this blog post, Github is updating to Jekyll 3.0, which defaults to the Rouge gem for Markdown processing. This is great, because it has built-in support for Github flavored markdown. The Gemfile and config may need to be tweaked a bit, but I can look into that further. Side note: how about moving to HAML? I mean, who enjoys looking at regular HTML these days? |
Congrats, I think the new pages look great. I would prefer to see discussion just use Github issues, as it is the easiest and most popular option. |
@dankohn what says it is the most popular option? I mean, it was done with this repo because I assume other tools were not available, or useful, at the time of creation. |
@onebree Most popular in the sense that nearly all developers have a Github account, while far less have Disqus, Discourse, Gitter, etc. Note that I'm not arguing that Github issues are the most feature-rich or even necessarily the best option, just the most ubiquitous. |
@dankohn Well you can sign into Discourse and Gitter with Github. In fact, Github is the only login option for Gitter, I think! |
Hi guys. Thanks a lot for your answers. If you guys agree I would keep this discussion to close the issues that are important to go online with the new version as soon as we can. To make this happen the issues to close are these.
We need to give a priority. When we close these issues we can move to the tech ideas you were talking about. I know it's "the dirty stuff", but this is what we need to do to move to Github pages and let anyone partecipate. This means that for the moment, we can leave actual comment system (surely can be improved), so we can focus on translations and main bugs. Let me know what do you think |
@andreareginato What browser were you using? On Firefox 44, I had no issue with the anchors. (That is |
I get that issue as well in Chrome if I |
@andreareginato I just whipped this Markdown file up. It is not perfect, and has to be rendered in a test environment, but this is what the English index could look like: |
@andreareginato we could use an I18n translation like this: https://github.com/screeninteraction/jekyll-multiple-languages-plugin |
Let me know your thoughts |
One more thing. For one week I'll be out for work and I'll not be able to closely follow the progress of the works. I wanted to leave you guys the task of making betterspecs 2.0 ready to go online telling you one more thing. Although many tech solutions can be applied, I would suggest to keep those minimal. I think going online with bs 2.0 using the Good work to everyone and thanks |
@andreareginato The CSS was not maintained in the gist I sent you, as it did not have any accompanying CSS files. This is why I need to test this locally with the entire site. I will make a separate branch called "markdown" or something. I also just realized that the gist I made was based on master branch, not Would you be opposed to simultaneously moving the site to HAML? This I can easily do myself, and I believe HAML (possibly with a gem) allows for Markdown syntax. (Similar to it allowing JS with the tag Nevertheless, I will be able to work on the Markdown structuring this weekend, as I am off from work Monday (15th). Something I can do Friday/Saturday (which will be quick) is cleaning up the README and finishing the changelog. |
@onebree I 'm not against HAML but we need to be sure to close this issue. Do you think using HAML will add much time on the process? If you can take care of it, and the final result is a much cleaner result, I'm in. Get in sync with @akz92 about the translations and I think you are ready to start. Great work. Lets make it real this weekend :) |
@andreareginato is the slack channel still around? I know I did not delete it. If possible, I can add @akz92 to it, and remove anyone who has not been around. |
Feel free to use it. It's up and running Il giorno gio 11 feb 2016, 15:32 Hunter Stevens notifications@github.com
|
@akz92 Would you like to join the Slack channel? Right now, it just posts updates from github. If you are interested, please let me know which email to use. Furthermore, I found this comment, where someone suggested using YAML for translations (@eliotsykes):
|
@andreareginato I have updated the changelog for all changes since I became a contributor: 45cbdb6 Happy 300 commits! |
Sure @onebree, my slack account email is aride.moulin@gmail.com. |
@onebree Impressive job :) Really really nice! As soon as you can let me know how the porting is moving. I'm looking forward to tell the community the work you are doing. Have a nice beginning of week. |
Sorry was really busy. For slack here is my email benoitjerk [at] hopsandfork dot com. Will see on which task I can work on. Maybe : Adapt all "translation pages" to the new layout (this will take some hours, but it should not be difficult ? |
@akz92 and @benoittgt I will add you two to Slack today. I will also open 2 issues for this project, assigning each of you to one. Just to divide this long conversation up. @andreareginato thank you, and you are welcome. I did not get to all I wanted to this holiday weekend -- I am still figuring out the Markdown port of the site. I will worry about that before HAML. I will finish the port by the weekend. :-) |
Thanks for the great work and coordination. Looking forward 👍 |
gh-pages accepted all pull requests and has diverged from Examples: This is a massive change, and it didn't work out to make it in one go. Please mind switching |
Hi again, RSpec style guide has recently been moved to RuboCop HQ, a common shelter for Ruby/Rails/RSpec style guides and corresponding RuboCop cops, and is actively maintained. I was thinking about cherry-picking the practices from this great guide (both
Appreciate any feedback, and glad to discuss how to join forces on creating a better comprehensive guide that the community would benefit from. |
I think it's a very good idea :) |
I'm not sure where it's better to ask, so I'll leave the reference to the pull request to RSpec style guide picking the rules from BetterSpecs here: rubocop/rspec-style-guide#55 |
So what’s the progress? Anything I can help? |
@FranklinYu it was merged. rubocop/rspec-style-guide#55 🎉 |
@benoittgt That's about https://github.com/rubocop-hq/rspec-style-guide right? How about http://www.betterspecs.org/ ? Or is RSpec Style Guide replacing Better Specs? |
@FranklinYu The two guides always complemented each other and even intersected a bit. It would be easier for everyone to maintain a single guide, and even though Bettrspecs is significantly more popular (stargazed), I've started off RSG, and preferred to apply the effort on updating it, including picking all the rules from Betterspecs. Translations were lost in transition, I hope volunteers eventually restore this miss, as it is with Ruby Style Guide, which is additionally available in ten languages. The decision on how to proceed with this project is up to Betterspecs maintainers, whether to link to RSG and add a notice that Betterspecs are not actively maintained and migrated/superseeded/evolutioned to RSG, or to keep updating it, specifically by backporting the rules I've updated to the new realms from RSG. Betterspecs remains a great resource, and 95% of it still applies, it has useful links to books and presentations, and again, is translated into different languages. No matter how it goes I'd like to thank all Betterspecs contributors and maintainers for the hard work. ❤️ |
Previous participants: @andreareginato , @akz92
As discussed in issue #146, we want to move away from Heroku and instead host the site on Github. Some advantages include:
jekyll serve -h 0.0.0.0 -p 4000
To see a current live demo of the beta site: https://github.com/akz92/akz92.github.io
Checklist of features for demo site:
[x]
Syntax highlighting (Ruby)[x]
Mobile-friendly website (Current responsive behavior is not mobile friendly akz92/akz92.github.io#1)[ ]
Disqus compatibility (hopefully deprecating Github issues as "thoughts".[ ]
Tedious, but change all tabs to spaces in code (huge pet-peeve of mine!)Please place all discussion about the site construction here!
The text was updated successfully, but these errors were encountered: