Skip to content

Man this is hard to build and setup... Any tips what i am doing wrong? #2420

Answered by onethree7
onethree7 asked this question in Q&A
Discussion options

You must be logged in to vote

OK i got it running.
now i understand why "docker" is recommended. Im done with linux builds for the next year.

In above paste i went wrong on these points:
had to uncomment the mongodb user and pw from my server/.env file, as mongodb per default doesnt need that.

#instead of faking the buildmetadata.json i had to build it with node (surprise)
root@ViewTube:~/viewtube/client# node buildMetadata.mjs

Now building viewtube worked properly
pnpm run build
--> yep

#create redis service:
echo -e "[Unit]\nDescription=Redis In-Memory Data Store\nAfter=network.target\n\n[Service]\nExecStart=/usr/local/bin/redis-server /etc/redis/redis.conf\nExecStop=/usr/local/bin/redis-cli shutdown\nRestart=always…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by onethree7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant