Yooooomi / your_spotify

Self hosted Spotify tracking dashboard
GNU General Public License v3.0
3.09k stars 124 forks source link

Local installation #229

Closed idunwannagotoschool closed 1 year ago

idunwannagotoschool commented 1 year ago

Hello, I am stuck in the server ‘yarn migrate’ part.

How can I input the env variable?

Yooooomi commented 1 year ago

Hello, as you would launching a normal command:

VAR=something yarn migrate

idunwannagotoschool commented 1 year ago

Thank you.

I have no knowledge in these area. I have just installed mongodb, what should I input in the mongodb endpoint?

Yooooomi commented 1 year ago

I feel like if you're this new you should learn how to use the docker compose. It'll be faster to setup than having to set up all the stacks.

Otherwise mongodb://localhost:27017 should do the trick

idunwannagotoschool commented 1 year ago

I tried using docker after unsuccessful attempts with local installation. After I deployed, I can get the web page with curl localhost:80 However, I can’t access the page with my public ip

idunwannagotoschool commented 1 year ago

3E865170-28F3-4AD8-9222-50EB23DA06E5

this is my docker-compose.yml

Yooooomi commented 1 year ago

You should use local addresses instead of 0.0.0.0 in your compose file.

idunwannagotoschool commented 1 year ago

Do you mean localhost or internal or public IP address? Sorry for so much questions.

Yooooomi commented 1 year ago

Local ip, the ip assigned to your device by the router. Should look something like 192.168.x.x.

idunwannagotoschool commented 1 year ago

how can i make it accessible over the internet?

idunwannagotoschool commented 1 year ago

Hello, I have successfully installed. I found issue#112 very useful, maybe you can include that in readme