inSileco / inSileco.github.io

:globe_with_meridians: Our blog powered by blogdown
https://blog.insileco.io/
GNU General Public License v3.0
8 stars 1 forks source link

Windows compatibility #62

Closed remi-daigle closed 5 years ago

remi-daigle commented 5 years ago

I can't pull the site from github using a Win 10 machine.

The problem seems to be the ionicons.tff?raw=true The error message is:

error: unable to create file content/post/iconsInR/assets/ionicons.ttf?raw=true: Invalid argument
Checking out files: 100% (421/421)   
Checking out files: 100% (421/421), done.
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry the checkout with 'git checkout -f HEAD'
KevCaz commented 5 years ago

Thanks @remi-daigle for reporting this,

So we should definitely add AppVeyor + I'll check the file that causes the issue.

KevCaz commented 5 years ago

cac51eebafd81bdac03e7ca7a52d89af98f26036 removes the problematic icon file and adds appveyor.yml Let's wait and see.

KevCaz commented 5 years ago

And the bug was reproduced https://ci.appveyor.com/project/KevCaz/insileco-github-io/build/1.0.1

KevCaz commented 5 years ago

We'll need some time to set AppVeyor properly in the meanwhile @remi-daigle would you mind checking if you are able to clone the repo?

remi-daigle commented 5 years ago

seems to work now!! Are we closing this issue?

KevCaz commented 5 years ago

I'd feel better if we would close this after making Appveyor work properly!

KevCaz commented 5 years ago

Not there yet, I'll read the Appveyor doc .... maybe latter this week.

KevCaz commented 5 years ago

I finally got it. I had to remove one post (on Appveyor, not on Travis). Not really satisfied by this so I may find a way to make this post (iconsInR) work on windows before closing this.

KevCaz commented 5 years ago

Done!

I explain what I did here https://kevcaz.github.io/notes/r/blogdownappveyor/.

remi-daigle commented 5 years ago

confirmed! Thanks @KevCaz I can now pull the site AND host the site locally!

KevCaz commented 5 years ago

Glad it worked @remi-daigle ! We should have set AppVeyor before, I wrongly assumed we all were on MacOS/Linux, my bad!