summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2018-01-28 20:31:35 -0600
committerOmar Roth <omarroth@hotmail.com>2018-01-28 20:31:35 -0600
commita7a66e1c0d59a9b60cfe588d00ddcb113c1f60f8 (patch)
treeeb85b93bcd7ebad555a3a5edf6a6cbaabf986301 /README.md
parent2c50bc2bbda510f55752149efc7aec69f7909309 (diff)
downloadinvidious-a7a66e1c0d59a9b60cfe588d00ddcb113c1f60f8.tar.gz
invidious-a7a66e1c0d59a9b60cfe588d00ddcb113c1f60f8.tar.bz2
invidious-a7a66e1c0d59a9b60cfe588d00ddcb113c1f60f8.zip
Update setup instructions
Diffstat (limited to 'README.md')
-rw-r--r--README.md40
1 files changed, 34 insertions, 6 deletions
diff --git a/README.md b/README.md
index cc94285d..00d0294d 100644
--- a/README.md
+++ b/README.md
@@ -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