Azarattum / AmadeusCore

Self hosted music streaming service.
3 stars 2 forks source link

how to run this actually? #1

Open James4Ever0 opened 1 year ago

James4Ever0 commented 1 year ago

i manage to run commands like npm run build npm run release and finally npm start

this is the output:


[12:28:33]: i Initializtion started...
========================Controllers=========================
[12:28:33]: ✓ Aggregator initialized!
============================================================
[12:28:33]: ✓ Successfyly initialized!
============================================================
[12:28:33]: i Closing all components...
[12:28:33]: ✓ Aggregator closed!
============================================================
[12:28:33]: ✓ Successfyly stopped!

the app quit immediately and i don't know how to use it in my app.

i tried to const {App} = requires("./dist/bundle.js") in node repl but the App is undefined. how to use this thing actually?

James4Ever0 commented 1 year ago

ps: i'm new to typescript/webpack or recent nodejs tech.

Azarattum commented 1 year ago

@James4Ever0, thanks for your interest in the project.

You should check out example.env file. You should obtain API tokens from the services you wish to use. Then you put them in .env file near your app (in the format you saw in example.env).

Arguably the most important one is the Telegram BOT token. Since currently it's the primary front-end for the app. There is also a https://github.com/Azarattum/AmadeusUI project, but it's very much work in progress right now and not really usable at this point.

Also you might want to install ffmpeg on your system (it should be in the PATH). So, the program can properly decode audio and album covers from YouTube.

There are no detailed installation instructions for the project yet, since currently I'm working on a full rewrite, so major breaking changes are expected. Once there will be a stable release, I plan to start working on an installation Wizard that would help you get all the dependencies and API tokens.

Azarattum commented 1 year ago

Also the VK provider is currently broken, so don't bother getting a token for it. The program will use only the services you provide tokens for, so feel free to just leave it empty. It doesn't affect your search results/recommendations a lot if everything else it set up properly.