github-pages

SVN to GitHub migration

ε祈祈猫儿з 提交于 2019-12-02 14:07:55
I have to migrate multiple directories from SVN trunk to one single GitHub repository. I'm able to clone single directory at a time by using this command: git svn clone "https://svn repo url" How to clone multiple directories with a single command from svn trunk? What is the best way to do migration? In the hard way officil svn to git migration you have to run a bunch of command to make the conversion, basically transforming trunk to master, svn revision's in commit's (git style) and svn tags (running git svn clone all tags are branches) to git tags. The easy way using this tool , beware of a

jekyll tag plugin works offline but not on github pages

给你一囗甜甜゛ 提交于 2019-12-02 12:45:54
There might seem to be other dupes like this, but this SO post is the closest with a hacky solution. I got a theme that uses the tag plugin from here : http://charliepark.org/tags-in-jekyll/ Here is my site repo on github . It's hosted here : http://www.gideondsouza.com Tags don't work online but work offline. On my local machine I see a _/site/tag/.. with folders for each tag. But this tag folder isn't generated on github? In fact I don't even see a _site folder, so maybe my understanding is off. Perhaps I need to install the github-pages gem? I could probably fix it like in the SO post

Deploying a React Webpack app (not created with create-react-app) to Github pages

家住魔仙堡 提交于 2019-12-02 12:22:34
问题 I'm fairly new to the React ecosystem; I've made a simple single page webpage for a tech conference and I want to deploy it to gh-pages. I know create-react-app has very good documentation on deploying to gh-pages but my app was not made with that. I manually setup all the configurations for Webpack and React, instead of using the react-scripts module that create-react-app uses. I tried finding some posts about deploying a non-create-react-app to gh-pages but I've had no luck so I was

Deploying a React Webpack app (not created with create-react-app) to Github pages

喜夏-厌秋 提交于 2019-12-02 04:24:17
I'm fairly new to the React ecosystem; I've made a simple single page webpage for a tech conference and I want to deploy it to gh-pages. I know create-react-app has very good documentation on deploying to gh-pages but my app was not made with that. I manually setup all the configurations for Webpack and React, instead of using the react-scripts module that create-react-app uses. I tried finding some posts about deploying a non-create-react-app to gh-pages but I've had no luck so I was wondering if there's any simple solutions. My current solution is to just push only the dist folder to the gh

Can I have a proper nice tiled pagination in Jekyll using Liquid templates?

依然范特西╮ 提交于 2019-12-01 22:47:12
I've found this nice jekyll theme: http://www.jacoporabolini.com/emerald/ with good looking pagination. Unfortunately is only good looking when there is a small number of pages. In case of my blog this looks like this: Not surprisingly because the code looks like this: {% for page in (1..paginator.total_pages) %} And it should like more like this: {% for page in (min(1,paginator.page-3)..max(paginator.page+3,paginator.total_pages)) %} The problem is, I don't think there is something like min and max in Liquid or even arithmetic operators like + or - . I was searching though the documentation

Angular 5 app not displaying on Github pages

爷,独闯天下 提交于 2019-12-01 22:09:08
I created the default Angular app using the CLI like so: ng new ng-test-deploy to test out deploying a dummy app to Github pages. I ran through the procedure as defined here which, to summarise, does this: ng build --prod --base-href "https://USERNAME.github.io/REPOSITORY_NAME/" angular-cli-ghpages After doing that I visited the page and receive a blank page. In the console there are multiple errors regarding loading the files: If i check the url of say the main.bundle.js I can see that the path is pointing to https://katana24.github.io/main.3188de4880a80d258168.bundle.js whereas I can load it

gh-pages -d build gives Error “file” argument must be a non-empty string

大兔子大兔子 提交于 2019-12-01 17:47:00
I included all the steps for deploying my create react app on github. snippet of my package.json "scripts": { "start": "node scripts/start.js", "build": "node scripts/build.js",`enter code here` "test": "node scripts/test.js", "homepage": "http://myName.github.io/create-react-wars", "predeploy": "npm run build", "deploy": "gh-pages -d build" }, this is the error i am getting gh-pages -d build "file" argument must be a non-empty string npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! react-star-wars@0.1.0 deploy: `gh-pages -d build` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the react

Javascript file not working on github pages [duplicate]

元气小坏坏 提交于 2019-12-01 13:12:37
问题 This question already has answers here : Why don't self-closing script elements work? (12 answers) Closed last year . I am able to load my javascript file on the local machine. But on github pages, it is not working. I have included the file in index.html as <script src="script.js" type="text/JavaScript"/> The website is https://abhikulshrestha22.github.io./ The code is at https://github.com/abhikulshrestha22/abhikulshrestha22.github.io Any help would be appreciated. Thanks in advance. Edit 1

How to add new posts to github pages without installing Jekyll locally

风流意气都作罢 提交于 2019-12-01 06:20:31
I created blog on github for a project using automatic generator and now I want to add new post. I added _posts folder and put file named 2015-04-05-post-name.md. Then I pushed all changes to repo on github. New page became available however it is not styled as index.html. What do I do wrong? What I'm trying to achive is to be able to add new posts written in markdown but without installing jekyll on my pc. All new posts should look according to the overall style of blog. Content of file looks like: --- layout: post title: Test Title --- # First Post Header Some text goes here. Automatic

Github Pages 404 for everything but index.html

落花浮王杯 提交于 2019-12-01 04:38:34
I have a Github pages website for our team at http://olinaeromarketing.github.io/ . I've tried opening index.html locally and it works perfectly in chrome on my pc. Everything loads perfect. However, when I push everything to Github and try to open it with http://olinaeromarketing.github.io/ , everything except index.html gives a 404 error and can't load. I'm pretty stumped as to why this is happening. I also haven't been able to find anything on the web regarding this issue. The repository is located at https://github.com/OlinAeroMarketing/OlinAeroMarketing.github.io . BTW, the website is