From 5b41c0f81b0d561735affd9ef3f56abe687b0c62 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Wed, 18 Jul 2018 20:09:28 -0500 Subject: [PATCH] Update README --- README.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index d3e14794..9a93e35a 100644 --- a/README.md +++ b/README.md @@ -6,33 +6,33 @@ ### Installing [Crystal](https://github.com/crystal-lang/crystal): -On Arch: +#### On Arch: ```bash $ sudo pacman -Syu shards crystal -$ crystal deps +$ shards ``` -On OSX: +#### On OSX: ```bash $ brew update $ brew install shards crystal-lang -$ crystal deps +$ shards ``` ### Installing Postgres: -On Arch: +#### On Arch: Install according to the [wiki](https://wiki.archlinux.org/index.php/PostgreSQL#Installing_PostgreSQL) -On OSX: +#### On OSX: ```bash $ brew install postgres ``` -Then setup database with +### Setup Postgres: ```bash $ ./setup.sh @@ -41,7 +41,8 @@ $ ./setup.sh ## Usage: ```bash -$ crystal src/invidious.cr +$ crystal build src/invidious.cr +$ ./invidious ``` Or for development: