Skip to content
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

host website on github pages #2

Closed
milahu opened this issue Nov 22, 2020 · 7 comments
Closed

host website on github pages #2

milahu opened this issue Nov 22, 2020 · 7 comments

Comments

@milahu
Copy link

milahu commented Nov 22, 2020

hey phpnode / codemix - thanks for fork and rollback : )

could we host the website on github pages?
https://pegjs.org/online looks like a static html-javascript page, so gh-pages should work

.. either by creating a branch gh-pages, or a separate repository, like pegjs-pages

hope the license says yeah

@phpnode
Copy link
Contributor

phpnode commented Nov 22, 2020

sounds good to me, @mdamien has a fork of the editor with nice inline errors, pegjs/pegjs#658 we should try and incorporate that if possible. I haven't checked the licensing situation for the site yet tho.

@milahu
Copy link
Author

milahu commented Nov 22, 2020

just found the build scripts in https://github.com/pegjs/pegjs/tree/master/website
so they have the same license = MIT

@hildjj
Copy link
Contributor

hildjj commented Apr 13, 2021

Status: I've checked all the files into /docs, turned on Pages hosting for that, and am in the process of getting DNS fixed up for peggyjs.org, which will take a day or two for all of the DNS propagation.

@hildjj
Copy link
Contributor

hildjj commented Apr 13, 2021

Note that there's still work to do to disentangle the webpack bits; the code that some parts of the site are using is still peg.js branded.

@hildjj
Copy link
Contributor

hildjj commented Apr 14, 2021

@hildjj hildjj closed this as completed Apr 14, 2021
@hildjj
Copy link
Contributor

hildjj commented Apr 14, 2021

whoops, I had it on www.peggyjs.org, but I'm fixing that up. Leaving this open until everything settles back down.

@hildjj hildjj reopened this Apr 14, 2021
@hildjj
Copy link
Contributor

hildjj commented Apr 14, 2021

Looks like that's holding now. www.peggyjs.org 301's to peggyjs.org. Details for anyone who finds this later:

From dreamhost:

www CNAME peggyjs.github.io
@ ALIAS peggyjs.github.io
@ NS ns1.dreamhost.com.
@ NS ns2.dreamhost.com.
@ NS ns3.dreamhost.com.

GitHub pages set to serve '/docs' from the main branch, and then https://github.com/peggyjs/peggy/blob/main/docs/CNAME contains:

peggyjs.org

Note that GitHub Pages will allow /docs/foo.html to be requested as https://peggyjs.org/foo, with no .html extension, which is good, because there are likely still some links in the page without an extension.

@hildjj hildjj closed this as completed Apr 14, 2021
hildjj pushed a commit that referenced this issue Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants