Split build and install in build from source instructions.
Stack refuses to build when run under sudo.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user