Clearer introduction

This commit is contained in:
Ben Firshman 2014-01-27 18:15:52 +00:00
parent 00f5c3bb85
commit cc29b21bfc
1 changed files with 4 additions and 2 deletions

View File

@ -5,7 +5,7 @@ title: Fig | Fast, isolated development environments using Docker
<strong class="strapline">Fast, isolated development environments using Docker.</strong> <strong class="strapline">Fast, isolated development environments using Docker.</strong>
Define your app's environment with Docker so it can be reproduced anywhere. Define your app's environment with Docker so it can be reproduced anywhere:
FROM orchardup/python:2.7 FROM orchardup/python:2.7
ADD . /code ADD . /code
@ -13,7 +13,7 @@ Define your app's environment with Docker so it can be reproduced anywhere.
WORKDIR /code WORKDIR /code
CMD python app.py CMD python app.py
Define your app's services so they can be run alongside in an isolated environment. (No more installing Postgres on your laptop!) Define your app's services so they can be run alongside in an isolated environment:
```yaml ```yaml
web: web:
@ -26,6 +26,8 @@ db:
image: orchardup/postgresql image: orchardup/postgresql
``` ```
(No more installing Postgres on your laptop!)
Then type `fig up`, and Fig will start and run your entire app: Then type `fig up`, and Fig will start and run your entire app:
![example fig run](https://orchardup.com/static/images/fig-example-large.f96065fc9e22.gif) ![example fig run](https://orchardup.com/static/images/fig-example-large.f96065fc9e22.gif)