I am new to Hugo and tried to create a hugo website using hugo's tutorial and then putting it online with a predefined theme named simplicity using their gitlab tutorial.
However my website seems to be missing the theme for the index page and the structure seems to be missing.
You can find the gitlab repo here and the index page here.
For instance, the posts link does not link to https://username.gitlab.io/website/posts but to https://username.gitlab.io/posts .
The website works well locally and I am not sure how to fix the structure on gitlab. I have tried tweaking the .gitlab-ci.yml and config.toml documents to no avail.
Thanks for your pointers.
I eventually fixed the problem with help from hugo's discourse community by changing the baseurl, rebuilding the website, and paying attention to cache/ trying with another browser.
Related
The Issue
Hi, I made a GWT (Google Web Toolkit) website, but now that I am done, I'm not sure how to host the website.
The code is only client-side, so I'm not sure where the problem is.
I would be grateful for any advice on where and how to host a GWT website.
Here's the GWT app on GitHub: https://github.com/aryanka15/GWTCledgeTextParser
My attempt to use GitHub Pages: https://github.com/aryanka15/aryanka15.github.io
What I tried:
I tried using GitHub Pages, but it doesn't work, for some reason the JS file is not recognized by browsers or something like that.
The build Java with Ant Github Action doesn't work either.
I also tried using Google App Engine, but it is a very complicated process that I couldn't get working, and I would like to avoid it if possible.
Also, I used VSCode to develop the application, if that helps. I think that many of the Google App Engine plugins for IDE's like Eclipse are deprecated, but let me know if I'm wrong.
Thank you!
Nvm, I wasn't being very smart. I just had to change the html to index.html, make necessary adjustments in the js files, and added all the files inside war to GitHub with the same file structure.
[GitLab Integration Page][1]
Youtrack is also showing on the sidebar
I have given the base URL in the Project URL section. Bit Confused about the issue url . Tried with a single issue url doesn't work. I cannot see any message that indicates update or solved issue. Also there is very less documentation about this problem.
https://docs.gitlab.com/ee/user/project/integrations/youtrack.html
this is the only help i got. How to solve it ?
Hi I am using jekyll hosted on github oages and I would like to separate the content and code of my site into separate branches so:
It is more organised.
If I want to change some code in the site experimentally I can create A new branch based of the code branch and I don't have to worry about updating its contents when I create new blogs in my main code branch.
I have done some research someone mentioned using gem files to store the code but creating a jekyll theme and distributing it with ruby gem seems a daunting task since I don't even know the gem programming language.
Any thoughts? And thanks in advance.
What you want is a CI solution.
Github Action should be a good choice to you since you are using Github Pages.
To simplify the process, you could leverage jekyll-deploy-action.
It also makes the plugins those are not on the Github Safe List works on Github Pages.
To achieve this, just follow the usage doc.
Should have said this earlier but I found a solution to the problem you can actually set a them variable in you _config.yml so it pilots to a GitHub repo
To seperate the (markdown) content from the (template) code you should use/create a theme.
so its my first time deploying an app, I have googled a lot and tried a lot but was not quite able to find the answer. I have a github repo https://github.com/JokubasTolocka/Movie_app which has both frontend and backend folders. During many tries, I have deployed a github page for frontend and everything works as long as I run the backend locally. Whenever I shut down my VScode the github deployments page returns 404 not found. How can I deploy my backend so that I can use this project in my portfolio? Any help would be MUCH appreciated!
I am also a beginner and was in the same situation, I still want to know how to deploy from the same repo.
I did a quick workaround for my case:
I separated both the into different repositories using git subtree command,
Check step-by-step instructions here:
Detach (move) subdirectory into separate Git repository
Any further help on this question will be appreciated.
I am new to Angular2 and just published a very basic app to Azure web app. I searched before posting this question and found couple of references
http://abusanad.net/2016/07/24/publish-angular-2-app-from-visual-studio-to-azure/
Deploy Angular 2 App to Azure
After following the steps in these articles, I accessed my WebApp and I see errors in browser console with 404 not found files.
System.import('main.js').catch(function(err){ console.error(err); });
Image of Exception details attached here
I also checked the versions of npm(3.10.8) & nodejs(v6.9.1) in my webapp. Seems like its good.
Any help is appreciated ! Thanks.
After adding the engines version to package.json, the issue got fixed :)
"engines":{"node":6.9.1} (In my case, this is the version)
Link for reference on how to specify the engines version:
https://learn.microsoft.com/en-us/azure/nodejs-specify-node-version-azure-apps
It looks like your server can't find the external libraries that your website is referencing, such as System.js. The list of files in your screenshot seems to have been flattened out - the original directory structure of your node_modules folder has been lost. Did you perform some step which caused this? Did you run npm install in your wwwroot folder like the tutorial advised?
Looking a bit further in the future, you will want to investigate a build process for your front-end code using a tool such as Webpack or Rollup, to stop you from deploying tons of separate source files.
Edit: Just noticed that the directory in your screenshot is (probably) wwwroot/core-js/client. Can you show us wwwroot instead?