-
Notifications
You must be signed in to change notification settings - Fork 148
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
Deploy the Game with gh-pages or with a Sub Domain #600
Comments
@naveentherocker We will use RawGit for development because it just copies the code from GitHub, so it is very fast. @niccokunzmann We can have a subdomain which gets all its data from cdn.rawgit.com |
The good thing about raw git for both development and deployment is that
we can detect the same mistakes which might not occur sometimes because
of domain and https and path:
With adding gh-pages/domain, we add these possible errors:
- https/http javascript AJAX problem
- using e.g. /index.html as link instead of relative links (deployed
version works but others do not)
- linking to one domain
So, if we introduce this, we need documentation on what the goal is and
which errors to avoid.
#38
|
I created the gh-pages branch. |
Just adding a gh-pages branch does not seem to activate github pages. |
@niccokunzmann Can't you access the settings of this repository? Are the owners required? |
It would be great if the site could be served on gh-pages. Could you make it possible @niccokunzmann . |
@himanshuc3 Rawgit is a lot better for development. It displays the content directly from GitHub. So updating is almost instant. We can start using gh-pages once we have a semi working thing going. |
I see. Fine. |
Expected results
Game being played in
fossasia.github.io/labyrinth
or inlabyrinth.fossasia.org
Actual results
Now the Game can be played with only
rawgit.com/fossasia/labyrinth/master/index.html
Steps to reproduce the issue
Deploy the Game with
gh-pages
and with CNAMEPing @niccokunzmann
The text was updated successfully, but these errors were encountered: