Skip to content

Commit 29976ea

Browse files
committed
Add information for pg_config error sclorg#70 sclorg#94
1 parent 82a41db commit 29976ea

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

README.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,23 +52,28 @@ To run this project in your development machine, follow these steps:
5252

5353
1. (optional) Create and activate a [virtualenv](https://virtualenv.pypa.io/) (you may want to use [virtualenvwrapper](http://virtualenvwrapper.readthedocs.org/)).
5454

55-
2. Fork this repo and clone your fork:
55+
2. Ensure that the executable `pg_config` is available on your machine. You can check this using `which pg_config`. If not, install the dependency with one of the following.
56+
- Mac OS X: `brew install postgresql` using [Homebrew](https://brew.sh/)
57+
- Ubuntu: `sudo apt-get install libpq-dev`
58+
- [Others](https://stackoverflow.com/a/12037133/8122577)
59+
60+
3. Fork this repo and clone your fork:
5661

5762
`git clone https://github.com/openshift/django-ex.git`
5863

59-
3. Install dependencies:
64+
4. Install dependencies:
6065

6166
`pip install -r requirements.txt`
6267

63-
4. Create a development database:
68+
5. Create a development database:
6469

6570
`./manage.py migrate`
6671

67-
5. If everything is alright, you should be able to start the Django development server:
72+
6. If everything is alright, you should be able to start the Django development server:
6873

6974
`./manage.py runserver`
7075

71-
6. Open your browser and go to http://127.0.0.1:8000, you will be greeted with a welcome page.
76+
7. Open your browser and go to http://127.0.0.1:8000, you will be greeted with a welcome page.
7277

7378

7479
## Deploying to OpenShift

0 commit comments

Comments
 (0)