Update readme
This commit is contained in:
parent
d13d62ecd7
commit
a8370470e7
1 changed files with 3 additions and 6 deletions
|
@ -52,10 +52,7 @@ To run this project in your development machine, follow these steps:
|
||||||
|
|
||||||
1. (optional) Create and activate a [virtualenv](https://virtualenv.pypa.io/) (you may want to use [virtualenvwrapper](http://virtualenvwrapper.readthedocs.org/)).
|
1. (optional) Create and activate a [virtualenv](https://virtualenv.pypa.io/) (you may want to use [virtualenvwrapper](http://virtualenvwrapper.readthedocs.org/)).
|
||||||
|
|
||||||
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.
|
2. Ensure that the executable `pg_config` is available on your machine. You can check this using `which pg_config`. Otherwise, sqlite will be used.
|
||||||
- macOS: `brew install postgresql` using [Homebrew](https://brew.sh/)
|
|
||||||
- Ubuntu: `sudo apt-get install libpq-dev`
|
|
||||||
- [Others](https://stackoverflow.com/a/12037133/8122577)
|
|
||||||
|
|
||||||
3. Fork this repo and clone your fork:
|
3. Fork this repo and clone your fork:
|
||||||
|
|
||||||
|
@ -120,8 +117,8 @@ Templates give you full control of each component of your application.
|
||||||
Sometimes your application is simple enough and you don't want to bother with templates. In that case, you can let OpenShift inspect your source code and create the required components automatically for you:
|
Sometimes your application is simple enough and you don't want to bother with templates. In that case, you can let OpenShift inspect your source code and create the required components automatically for you:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ oc new-app centos/python-35-centos7~https://github.com/sclorg/django-ex
|
$ oc new-app centos/python-36-centos7~https://github.com/sclorg/django-ex
|
||||||
imageStreams/python-35-centos7
|
imageStreams/python-36-centos7
|
||||||
imageStreams/django-ex
|
imageStreams/django-ex
|
||||||
buildConfigs/django-ex
|
buildConfigs/django-ex
|
||||||
deploymentConfigs/django-ex
|
deploymentConfigs/django-ex
|
||||||
|
|
Loading…
Reference in a new issue