Merge pull request #514 from dex-ethics/docs

Minor changes in documentation
This commit is contained in:
Joe Nelson
2016-03-07 09:15:16 -08:00
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -251,7 +251,7 @@ basic_auth.send_validation() returns trigger
declare declare
tok uuid; tok uuid;
begin begin
select uuid_generate_v4() into tok; select gen_random_uuid() into tok;
insert into basic_auth.tokens (token, token_type, email) insert into basic_auth.tokens (token, token_type, email)
values (tok, 'validation', new.email); values (tok, 'validation', new.email);
perform pg_notify('validate', perform pg_notify('validate',
+2 -1
View File
@@ -55,7 +55,8 @@ sudo apt-get install -y libpq-dev
```bash ```bash
git clone https://github.com/begriffs/postgrest.git git clone https://github.com/begriffs/postgrest.git
cd postgrest cd postgrest
sudo stack install --install-ghc --local-bin-path /usr/local/bin stack build --install-ghc
sudo stack install --allow-different-user --local-bin-path /usr/local/bin
``` ```
* Run the server * Run the server