Update README
This commit is contained in:
parent
c928a938f9
commit
5b41c0f81b
1 changed files with 9 additions and 8 deletions
17
README.md
17
README.md
|
@ -6,33 +6,33 @@
|
||||||
|
|
||||||
### Installing [Crystal](https://github.com/crystal-lang/crystal):
|
### Installing [Crystal](https://github.com/crystal-lang/crystal):
|
||||||
|
|
||||||
On Arch:
|
#### On Arch:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ sudo pacman -Syu shards crystal
|
$ sudo pacman -Syu shards crystal
|
||||||
$ crystal deps
|
$ shards
|
||||||
```
|
```
|
||||||
|
|
||||||
On OSX:
|
#### On OSX:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ brew update
|
$ brew update
|
||||||
$ brew install shards crystal-lang
|
$ brew install shards crystal-lang
|
||||||
$ crystal deps
|
$ shards
|
||||||
```
|
```
|
||||||
|
|
||||||
### Installing Postgres:
|
### Installing Postgres:
|
||||||
|
|
||||||
On Arch:
|
#### On Arch:
|
||||||
Install according to the [wiki](https://wiki.archlinux.org/index.php/PostgreSQL#Installing_PostgreSQL)
|
Install according to the [wiki](https://wiki.archlinux.org/index.php/PostgreSQL#Installing_PostgreSQL)
|
||||||
|
|
||||||
On OSX:
|
#### On OSX:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ brew install postgres
|
$ brew install postgres
|
||||||
```
|
```
|
||||||
|
|
||||||
Then setup database with
|
### Setup Postgres:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ ./setup.sh
|
$ ./setup.sh
|
||||||
|
@ -41,7 +41,8 @@ $ ./setup.sh
|
||||||
## Usage:
|
## Usage:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ crystal src/invidious.cr
|
$ crystal build src/invidious.cr
|
||||||
|
$ ./invidious
|
||||||
```
|
```
|
||||||
|
|
||||||
Or for development:
|
Or for development:
|
||||||
|
|
Loading…
Reference in a new issue