Sin descripción

Ben Firshman 4d1b2f1547 Ship 1.0.0 hace 11 años
bin 9550387e39 Add script to build an OS X binary hace 12 años
docs 4d1b2f1547 Ship 1.0.0 hace 11 años
fig 4d1b2f1547 Ship 1.0.0 hace 11 años
script f4b599551a Use uname to generate binary download URL hace 11 años
tests 1820306d0a Merge pull request #529 from chmouel/override-environement hace 11 años
.gitignore 779f4bda01 Fix cli for python 2.6 hace 11 años
CHANGES.md 4d1b2f1547 Ship 1.0.0 hace 11 años
CONTRIBUTING.md f4b599551a Use uname to generate binary download URL hace 11 años
Dockerfile b4fbab4b56 Run pyinstaller build as normal user hace 11 años
LICENSE 99064d17dd Docker, Inc. hace 11 años
MAINTAINERS 8fa85ecc05 Add maintainers file hace 11 años
MANIFEST.in 229b59bd6e remove tests from distribution build hace 12 años
README.md 6b600faf0b Update wercker badge hace 11 años
requirements-dev.txt 7fd37c89b9 Remove fig.packages replace with real deps. hace 11 años
requirements.txt b0159e5100 Upgrade to docker-py 0.5.0 hace 11 años
setup.py c270e9d622 Require docker-py 0.5 or later for insecure_registry kwarg hace 11 años
tox.ini 7fd37c89b9 Remove fig.packages replace with real deps. hace 11 años
wercker.yml b4fbab4b56 Run pyinstaller build as normal user hace 11 años

README.md

Fig

wercker status

Fast, isolated development environments using Docker.

Define your app's environment with Docker so it can be reproduced anywhere:

FROM python:2.7
ADD . /code
WORKDIR /code
RUN pip install -r requirements.txt
CMD python app.py

Define the services that make up your app so they can be run together in an isolated environment:

web:
  build: .
  links:
   - db
  ports:
   - "8000:8000"
   - "49100:22"
db:
  image: postgres

(No more installing Postgres on your laptop!)

Then type fig up, and Fig will start and run your entire app:

example fig run

There are commands to:

  • start, stop and rebuild services
  • view the status of running services
  • tail running services' log output
  • run a one-off command on a service

Installation and documentation

Full documentation is available on Fig's website.