diff options
| author | Omar Roth <omarroth@hotmail.com> | 2018-01-28 20:31:35 -0600 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2018-01-28 20:31:35 -0600 |
| commit | a7a66e1c0d59a9b60cfe588d00ddcb113c1f60f8 (patch) | |
| tree | eb85b93bcd7ebad555a3a5edf6a6cbaabf986301 /README.md | |
| parent | 2c50bc2bbda510f55752149efc7aec69f7909309 (diff) | |
| download | invidious-a7a66e1c0d59a9b60cfe588d00ddcb113c1f60f8.tar.gz invidious-a7a66e1c0d59a9b60cfe588d00ddcb113c1f60f8.tar.bz2 invidious-a7a66e1c0d59a9b60cfe588d00ddcb113c1f60f8.zip | |
Update setup instructions
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 40 |
1 files changed, 34 insertions, 6 deletions
@@ -1,18 +1,46 @@ # Invidious -Alternative frontend for YouTube +> Invidious is a web application that indexes popular video sites ## Installation +### Installing [Crystal](https://github.com/crystal-lang/crystal): + +On Arch: +```bash +$ sudo pacman -Syu shards crystal +$ crystal deps +``` + +On OSX: +```bash +$ brew update +$ brew install shards crystal-lang +$ crystal deps +``` + +### Installing Postgres: + +Onn Arch: +Install according to the [wiki](https://wiki.archlinux.org/index.php/PostgreSQL), then setup database with: +```bash +$ ./setup.sh +``` +On OSX: +```bash +$ brew install postgres +``` + +## Usage: + ```bash -pacman -Syu shards crystal -crystal deps +$ crystal src/invidious.cr ``` -## Usage +Or for development: ```bash -crystal deps -./sentry +$ curl -fsSLo- https://raw.githubusercontent.com/samueleaton/sentry/master/install.cr | crystal eval +$ ./sentry ``` ## Contributing |
