Hey guys. I’ve been trying to get kbin.social running on my local machine outlined here but I’m running into issues

issue with kbin install

I’ve installed Docker Desktop for windows and I can see the containers being created but I’m getting errors on the front-end build stage, I’ve put it in a ticket here but not sure what else to do.

https://codeberg.org/Kbin/kbin-core/issues/368

I’ve already got node, npm and yarn installed, I’ve done the following and I’m not making much progress

npm install yarn build

When I view the site locally its throwing errors.

I’m pretty new to docker and even yarn so I’m not sure what I should do next, any big brain thoughts from you guys by chance?

  • Stardust@kbin.social
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    Seems to be a lot of ‘looking for file router.min.js’. Could be a version conflict and it got moved?
    So. Do you have the file on your system? Do you have a vendor folder with friendsofsymphony and inside that js routing bundle?

    I have not tried to use docker for windows myself, but looking to see if a referenced folder exists under this type of error is pretty common. You may be able to find a js routing bundle version somewhere that has the referenced file or perhaps non-minified files that could be bundled together.

    I was also under the impression this docker was for Debian, which is a Linux distribution. Are you running your windows docker in a simulated linux debian environment (or does it do that)? If you don’t wish to install Debian or a virtual box for it, you might want to try getting a free Cloud Oracle VPS and setting up a Debian instance there - just beware of their extremely annoying double firewall which has often tripped me up.

    Also, it is just called kbin, not kbin.social - the latter is the name of the website running kbin. -wink-

    • AnonymousLlama@kbin.socialOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Cheers I’ll give it a look too see if I can find those missing files, I was under the impression docker files could be ran anywhere, if it was made just to run on debian I might be out of luck. I’ve got the Linux subsystem for Windows installed (it’s part of docker for Windows)

      Hopefully I’ll be able to track this down so I can get it running, pretty keen on helping out on some UI issues to improve the mobile experience.

      • Stardust@kbin.social
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Unfortunately I am not very familiar with docker, so I cannot help you there, sorry, although it does sound like if the docker has a linux subsystem that it should work?
        I might give it a go with running it myself at some point.