How do I link github repository to linode server?
Hi all,
I just started using linode and I want to host a web application using a linode server. The server and the domain settings are set up correctly, but now I need to link my application code which is on my github repo, to my linode server; so that the web app goes live. Kindly assist me on how to do that.
1 Reply
Try this:
git clone https://github.com/whatever/the/url/is /the/local/file/path
Depending on how you set up your GitHub account, you may be asked for GitHub login credentials.
-- sw
P.S. Make sure you tell your web server to not serve files/directories whose names begin with '.' (with the exception of .htaccess). Also, if you have any directories where php(1) expects to cache files, those need to be writable by the web server.