Can Github be used for Web Development? - html

I'm a Web Dev. and I'm very new to Github and I was wondering if Github can be used for Web Development. If it can't then what lang. are commonly used for Github?

Github is a plattform for hosting git-repository.
It is not about programming language but about storing versions of your code an collaborating.
Basically you can use Github or any other git hosting for basically every programming project.
Here an article why it is a good idea to use git as a version control: https://www.makeuseof.com/tag/git-version-control-youre-developer/

Github lets you host you your code. Collaborate with people writing your code, showing it to the world, manage the version of your code. What is basically hosts is a git repository. Take a look over here to get an idea. One interesting thing, GitHub provides is letting you host static websites. It also provides the free domain name like yourUserNme.github.io. This tells how to do it. You can also use jykll template to host your site on GitHub.

you can git every lang , such as php ,html ,css and etc..

GitHub is a web-based hosting service for version control using Git. It is mostly used for computer code. It offers all of the distributed version control and source code management (SCM) functionality of Git as well as adding its own features. It provides access control and several collaboration features such as bug tracking, feature requests, task management, and wikis for every project.
It is not the programming language. I guess you can store most of your code in GitHub, and which can be used for version control. you can easily learn it from the following online tutorial link. https://lab.github.com/

Related

How to edit/update articles on big sites using Jekyll

I want to create SEO Niche Websites using Jekyll. Each of my websites will have 300-400 articles (posts).
And I have a question, how in future I can edit/update my posts?
I don't want to use Github for hosting, I'm planning to use virtual hosting with SSH.
And If I edit one single post, then I should upload all my website files every time? It's hard and very don't convenient.
Sorry guys for my English.
My favorite solution is to let CloudCannon build the site and write the build to a DIFFERENT github repo called '[mygithubreposname]_static'. A webhook in this Github repo fires after update and pulls the build to my VM.
A simpler solution is to use a CD/CI tool, use CloudCannon or Netlify for hosting or to let CloudCannon deploy directly to your server.

uding tfvc with readthedocs

I'm considering setting up my own readthedocs instance. I see that they have support for Git, Mercurial, Subversion, and CVS .I do however have a couple of legacy projects which are considerable effort to move over to git sitting in TFS using TFVS.
Would it still be possible to pull in these projects using the webhook method they're talking about?
What would be the code based approach to get this to work?
Eventually I'd like to get all these opened up on Github, but thats something I still need to sell.
No, it's not support to uding tfvc with readthedocs.
It's viable to use web hooks in VSTS directly. Document from MSDN:Web Hooks
However, if you want to use web hooks with TFS. You may need to use TFS plugin such as Cloudpipes. More details you can refer this link: Integrate Team Foundation Server with Web hooks

IDE for web project working with distant copy

We currently have an intranet host on a server (just Html and js project).
contributors do not have a local copy of the project, and modify the code on a regular basis using Expression web. However, a lot of Expression web's features, like link maintenance, do not work if the project is not on a local cache.
Do you know any good web IDE capable of maintaining a web project directly on a server ?
Thanks
This IDE may work for you it is biased in the cloud.
https://c9.io/

Boilerplate to develop web components

I was looking at the repositories of PolymerLab and I met this repository:
https://github.com/PolymerLabs/untitled-element
This repository seem to serve as a boilerplate to create web components, but when I open the guide from the README file, I read a documentation that talks about other repository:
https://github.com/PolymerLabs/seed-element
and I was wondering, what is it? In untitled-element outdated? Or is it an error in the documentation?
Could maybe someone explain me the difference between this 2 boilerplates to start web component development?
Sorry for the confusion.
untitled-element is a minimal version created by the Polymer Engineering team specifically to provide a sample of our version of the canonical element repository.
seed-element has more features and was built by the Polymer Developer Relations folks to provide a nicer on-ramp.
You could use either one, depending on whether your prefer a minimal or turnkey approach.

static html blog/cms to run on a USB stick?

What are the options for having a simple blog, content management system that will deploy the full site as static html over FTP/SFTP and any blog API?
I am aware of Thingamablog but it hasn't been updated in more than a year so i guess is dead now. What are my alternatives that must export at least static HTML to a FTP server?
It would be nice if the app would have some visual gui to enter the blog post and could run from a USB stick.
I don't know that Thingamablog is dead just because it hasn't been updated in a year. Lack of recent updates doesn't necessarily mean the project is dead, it just may mean that it has achieved it's goals and has nothing more to add. Does Thingamablog do what you need?
How about TiddlyWiki. Not a blog or CMS, but it seems to be the kind of thing you need.
Today I came across this tool: Zeta producer. They have a free and a pay version.
Second the motion for CityDesk. You could probably run your blog on the free version (up to 50 "assets" - files, pages, images, etc.), and publishes static HTML to servers via FTP as its specialty. It's trivial to add updates; re-publish process does a differential between your new version and the one that's on the server, and only makes necessary changes.
Examples abound - just google for "*.cty" files.
Here's a CityDesk site I help run:
http://bv-embs-chapter.com
Hope this helps.
Thingamablog is active again. 1.5 will be released soon, currently 1.5veta5 is the latest. Looks good for what you need.
Paul.
You could use the MoWeS Portable: The Modular Web Server.
http://www.chsoftware.net/en/useware/mowes/mowes.htm
It lets you pick and choose a number of static and dynamic services to run on top of a web server straight off the USB drive or a virtual drive.
I run a Wiki off a virtual drive using Mowes at work and at home, i run a personal blog from my usb stick.
Its verrry easy to configure and powerful enough to be productive.
Edit: Heres a link to help you get started with it:
http://www.mediawiki.org/wiki/Manual:Installing_on_WOS_Portable_(Windows)
In the download section, you can select what packages you want to install. This is where you can select what CMS/Blog softwares you want to include.