this post was submitted on 19 Jun 2023
8 points (100.0% liked)

Programming

355 readers
1 users here now

This magazine is dedicated to discussions on programming languages, software development, and coding. Whether you are a beginner programmer or an experienced developer, this is the place for you. Here you can share your knowledge, ask questions, and engage in discussions on topics such as coding languages, software engineering, web development, and more. From the latest trends and frameworks to tips and tricks for debugging, this category covers a wide range of topics related to programming.

founded 2 years ago
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 1 year ago (1 children)

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-

[–] [email protected] 1 points 1 year ago (1 children)

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.

[–] [email protected] 2 points 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.