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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
[馃摌] Migrate website to github #322
Comments
Hello there @techfg , I'd love to do this task. So basically you want to switch your hosting service to GitHub Pages, where all the HTML docs pages render using GitHub Pages, is that right? Or do you want to change the whole UI of your documentation? |
Hello @Itsaadarsh - This is awesome, thank you for your interest in taking this on, greatly appreciated! Regarding my thoughts on what this should involve, the primary goal is to take the relevant "information" (demos, faq, docs, etc.) at the current site and create a new site hosted on github, likely on GitHub Pages but open to ideas on how best to do this. The key is that as much (hopefully all) of the information gets migrated but the design doesn't have to - in fact, would be great to modernize the UI/UX with the new site. Again, completely open to ideas on how best to accomplish this. Does that answer your question(s)? |
@techfg Thanks so much for breathing life back into this project and I'm sorry I haven't had much time to be involved. But it seems like it's in very good hands! I'm paying attention mostly as a fly on the wall, but feel free to email me directly if there's something you need from me that I'm really holding you up on. This is exciting and I will try to get more involved as time permits! Thanks in advance to the effort to migrate the web site. I can provide the source code to the existing site (I think... it's been years since I touched it...) if that will be helpful; it's mostly client side javascript with an ASP.NET/C# backend that does only a few things iirc like query github for the most recent version to display dynamically, which probably isn't working any more anyway. I'm sure architecturally, it makes no sense by today's standards/patterns and may or may not be especially useful. |
@jamietre - Happy to help and thanks again for all your efforts in making ImageMapster what it is today! Sounds great about the source code, @Itsaadarsh, would that be helpful for you? |
Well, tbh I'm not really good at changing UI\UX or writing HTML and CSS from scratch, so I'll help you guys in migrating your existing documentation to GitHub pages. So once I see the main documentation codebase I'll start working on the migration. |
@Itsaadarsh - Sounds like a plan, we can evolve the implementation as you get things started and possibly some others can contribute as well. Thanks again for your willingness to help! |
Okay! Where do I find the documentation repo, the one with all the HTML pages? |
@Itsaadarsh - @jamietre mentioned he's going to dig it up and send our way. Worst case, If he's unable to locate, you'll just have to replicate the content which hopefully shouldn't be too difficult :) |
I found the source code; I'll make a git repo. I just need to go through it to sanitize it since it's never been open sourced before |
@jamietre - I've never used GH Pages before but from some quick reading, it looks like you can enable GH pages in this repo via Settings and just target a branch to contain the pages. Possibly it makes sense to create a branch called "old-website" for the current website code (or just put in a separate repo) and then go through the GH Pages setup wizard picking a theme you like and targeting a branch in this repo called 'gh-pages'? @Itsaadarsh - Assuming @jamietre just creates a branch in this repo (e.g. gh-pages) you can fork the repo and work on the changes in your fork and then just submit a PR :) |
@techfg sounds simple enough. I'll push all the code in another branch. I should have some time today to get that up there. |
@techfg Ya sure create a new branch and push all the old website source code in that and don't name the branch Just to be clear you're gonna push the old source code onto this repo right? |
@Itsaadarsh - I believe @jamietre is indicating that he'll push the existing website code in to a branch in this repo (e.g. branch: |
I just pushed |
@jamietre - Awesome, ty! I've never used GH pages either so will be learning experience for both of us. From what I've seen/read, most repos that have GH Pages enabled use a dedicated branch (nothing else except the site itself in that branch) and of the ones I've looked at, |
Hey guys, so I just went through the whole website codebase and noticed that the tech stack used is C#, but the problem is that I'm not really familiar with C# code base. But I'll try and understand the codebase in the coming days and try to contribute as much as possible. |
You should be able to ignore most of it, honestly. I am 99% sure the routing within the ImageMapster section itself is all client side (or maybe it did have server side routing if you hit it with a direct URL or something? but should work client only). It seems to behave like that too, just playing around real quick. I don't remember the first thing about the actual templating of the HTML, but you could always just download the raw HTML from the site as it is rendered today and use that as a starting point if we are using some kind of server-side templating for the site structure. There was one piece that did a query against github to get the latest version automatically. But most of it, I think, should be extractable from the infrastructure without a lot of trouble. |
Agree with @jamietre, I think the "key" here is to replicate the content not the code. The look & feel of the new site can and should be completely different and can be based on the chosen GH Pages theme. @Itsaadarsh - Possibly a good first step is to create the initial shell site, setup nav, etc. and then implement the docs page focused on its content. From there, you can tackle additional pages (e.g. examples), etc. but this will give a good starting point and get something up and running. Thoughts? @jamietre - Couple of q's:
Thanks guys! |
ImageMapster website is currently hosted at http://www.outsharked.com/imagemapster and its creator has graciously covered the hosting costs along with maintaining it throughout the years (thank you @jamietre!).
Beyond the hard costs, keeping the site updated, etc. is challenging as it requires him to get involved directly instead of being community supported.
Would be great to see someone take on the effort of migrating the existing site to github either within the wiki, GitHub Pages, etc. Key elements of this would be updated documentation and ability to view examples, etc.
Any takers?
The text was updated successfully, but these errors were encountered: