Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help fix problem #184

Closed
Barrer0 opened this issue Oct 29, 2020 · 18 comments
Closed

Help fix problem #184

Barrer0 opened this issue Oct 29, 2020 · 18 comments
Assignees
Labels

Comments

@Barrer0
Copy link

Barrer0 commented Oct 29, 2020

Help me plase setup bot (OS Debian 9. Node: v14.15.0)
Безымянный

@Barrer0 Barrer0 added the bug Something isn't working label Oct 29, 2020
@kdev
Copy link

kdev commented Oct 29, 2020

What did you do to get this error?
Are all depencies installed?
Is using Docker an option for you?

@zekroTJA
Copy link
Owner

Yeah, the build script is not maintained anymore.

Please download the latest binaries from the releases page or pull the official docker image from docker hub.

Generally, it's recommented to use the provided docker-compose configuration for an easy setup.

@zekroTJA zekroTJA added question and removed bug Something isn't working labels Oct 29, 2020
@Barrer0
Copy link
Author

Barrer0 commented Oct 29, 2020

Can I do it without docker? @zekroTJA

@zekroTJA
Copy link
Owner

Sure. Just download the precompiled binaries, which contain the main binary and the compiled SPA files. These files must be placed in the same directory as the binary, if you want to enable the REST API and web interface.

Also, keep in mind that it's highly recommendet to use redis with shinpuru to reduce the load on your database.

@Barrer0
Copy link
Author

Barrer0 commented Oct 29, 2020

@zekroTJA Can I have a guide? And then I work with GO for the first time, I previously worked with JS

@zekroTJA
Copy link
Owner

If you dont know how to set up MySQL or redis, please take a look in the docs of these projects. There are well documented guids how to set them up.

And, like I said, you only need to download the archive, extract everything and execute the binary. Then, a config file is created where you put in your configuration and preferences. Here you can find an example configuration with explainations for the values.

Thats why I recommend setting up shinpuru with Docker and docker-compose, because you may need a lot of stuff around to use it efficiently.

@Barrer0
Copy link
Author

Barrer0 commented Oct 29, 2020

@zekroTJA I did all of the above, how do I run it on linux now?

@zekroTJA
Copy link
Owner

Did you even read my response?

And, like I said, you only need to download the archive, extract everything and execute the binary. Then, a config file is created where you put in your configuration and preferences. Here you can find an example configuration with explainations for the values.

@Barrer0
Copy link
Author

Barrer0 commented Oct 29, 2020

@zekroTJA Yes, but then I upload all the files to the server and don't know how to start it.
P.S. I wrote above that this is the first time I work with GO :D

@SnowJuli
Copy link
Contributor

https://github.com/zekroTJA/shinpuru/wiki/Self-Compiling Just read this article.

@Barrer0
Copy link
Author

Barrer0 commented Oct 29, 2020

@zekroTJA It still doesn't work for some reason(((

@oleggtro
Copy link

We can't help you if you don't tell us, what your problem is. Also if you haven't used Linux yet, please learn about Linux first.
It's not our job in here to teach you how to use Go/Linux. There are enough sources on the internet to learn.

@zekroTJA
Copy link
Owner

zekroTJA commented Oct 29, 2020

@SnowLeoo The problem is, that the self compiling is not that straight forward and if they don't even know how to execute a binary, this will definetly not be their way.

@ENOT1KK Please look at this gif. Just download the binaries, extract them, execute the shinpuru binary for linux, edit the generated config and re-run the binary.

@Barrer0
Copy link
Author

Barrer0 commented Oct 29, 2020

@zekroTJA auth for suite
Безымянный

@Barrer0
Copy link
Author

Barrer0 commented Oct 29, 2020

Can you also tell me how to add your language to the bot and website?
Безымянный

@SnowJuli
Copy link
Contributor

SnowJuli commented Oct 29, 2020

  1. You would have to translate all of the text by yourself.
  2. Listen to the Warn of the terminal.
  3. Question: Why don't you just invite Shinpuru. It's already hosted

@Barrer0
Copy link
Author

Barrer0 commented Oct 29, 2020

@zekroTJA 1. I want to change some things.
2.this is a valuable experience for me.
3. I understand that manually but the question is where and how.

@oleggtro
Copy link

I'm afraid you won't get far with this @ENOT1KK . Shinpurus code is not simple. First learn the language and basic linux things. And then you just have to download the code, modify it and use it. (of course with credit to zekro)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants