iv-org / documentation

The official Invidious documentation
https://docs.invidious.io
Creative Commons Zero v1.0 Universal
599 stars 157 forks source link

MacOS installation instructions #327

Open iBicha opened 1 year ago

iBicha commented 1 year ago

Going through installation instructions for Mac, I see few issues (perhaps docs might use a refresh)

1

this does not work

brew install shards crystal postgres imagemagick librsvg

it needs to be

brew install crystal postgresql imagemagick librsvg

2

Need to call createdb for the first time before creating role kemal (before psql -c "CREATE ROLE kemal WITH PASSWORD 'kemal';")

3

psql invidious kemal < config/sql/channels.sql causes a role "kemal" is not permitted to log in error https://stackoverflow.com/questions/35254786/postgresql-role-is-not-permitted-to-log-in

4

psql invidious kemal < config/sql/privacy.sql
> zsh: no such file or directory: config/sql/privacy.sql

5

In Set up Invidious, there's a git clone https://github.com/iv-org/invidious, but that's strange, since we already would have cloned this for previous steps

unixfox commented 1 year ago

feel free to open a PR: https://github.com/iv-org/documentation/blob/master/docs/installation.md

Kai-Toyata commented 9 months ago

The macOS installation instructions are very outdated and poor. I am trying to install it now and will update the docs but I've encountered Unhandled exception: Error opening file with mode 'r': 'assets/videojs/video.js/versions.yml': No such file or directory (File::NotFoundError) While running the install script. Docker wasn't working either due to authentication issues.