-
Notifications
You must be signed in to change notification settings - Fork 329
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
Live version of the website #179
Comments
Yup I agree, I was thinking of starting a gh-pages branch and hosting it on github. Will do it in a day's time. If you have any other better suggestions do let me know. |
setting up gh-pages or netlify seems great option as everything committed to master branch can be deployed automatically. |
can i work on this , i am new to this . i know how to deploy a static website on heroku but would need help to understand gh-pages or netlify? |
Don't take up this issue. This one is for the maintainers. You will require a higher level of access to the code for this. |
@sudz123 using netlify is pretty easy and will take only 10 minutes to set up. I have done it in my repos. It automatically deploys whenever new commit comes. I think you should do this one as soon as possible. it will be a big help for new contributors and will give motivation to existing contributors as they can see their work live! P.S. I got inspired with your repo. Nice job. |
Thanks @drex44 , the whole idea is to bring up new programmers to the open source community and get them started. I will be doing this, but when I do, I will be sharing this in a much broader community to show how this was achieved. I can only share this when I am satisfied with the site. Waiting on #212 , the moment this is closed, I will make the site go live. |
@sudz123, I see your point! |
@drex44 I am having trouble using both gh-pages and netlify since our site is not to be built from the root directory. Do you know how this is done? We have multiple static pages to be hosted. |
I haven't set up local dev env for this repo so give sometime. I will check it out and update you on how to configure it. |
@sudz123 you have to keep the index.html file in the root of the repo or docs/ folder. currently, you have home.html. you have to rename it. then you can use gh-pages. EDIT: but you have to edit the links in your other pages from home.html to index.html |
@drex44 This is one way. I am also trying to find if it is possible to keep the same structure and build the site without renaming anything. Maybe add a script in root which will redirect to home.html in src. If this is not possible I will do what you are suggesting. Do you know of any such functionality which github provides? Otherwise I will have to hard code a script maybe. |
if you don't want to change anything then try using heroku with express.js to serve static sites. this will require you to add server.js file and forward requests coming to home.html from index.html. |
I couldn't find the live version of the website hosted anywhere.
It would be awesome to check the latest code somewhere live.
so it can be hosted somewhere on notify, surge or similar providers. they don't charge for static websites!
The text was updated successfully, but these errors were encountered: