improve postgres setup instructions in readme

This commit is contained in:
Martin Klepsch 2018-02-13 14:47:01 +01:00
parent aa34903725
commit 64f5d3bb5a
1 changed files with 2 additions and 10 deletions

View File

@ -23,8 +23,8 @@ You will need [Leiningen](https://github.com/technomancy/leiningen) 2.0 or above
Make sure you install [PostgreSQL](https://www.postgresql.org/) and properly set it up:
```
sudo -u postgres psql -c "CREATE USER commiteth WITH PASSWORD 'commiteth';"
sudo -u postgres createdb commiteth
psql postgres -c "CREATE USER commiteth WITH PASSWORD 'commiteth';"
psql postgres -c "CREATE DATABASE commiteth;"
```
## Running
@ -37,14 +37,6 @@ lein figwheel
lein less auto
```
Make sure you install [PostgreSQL](https://www.postgresql.org/) and properly set it up:
```
sudo -u postgres psql -c "CREATE USER commiteth WITH PASSWORD 'commiteth';"
sudo -u postgres createdb commiteth
```
### solc
Solidity compiler [0.4.15](https://github.com/ethereum/solidity/releases/tag/v0.4.15) is required and needs to be in $PATH.