Nessuna descrizione

Aanand Prasad d978787fcc Merge pull request #439 from dnephin/faster_integration_tests 11 anni fa
bin 9550387e39 Add script to build an OS X binary 12 anni fa
docs 35b217a0a4 Fix the broken URL 11 anni fa
fig d978787fcc Merge pull request #439 from dnephin/faster_integration_tests 11 anni fa
script 7fd37c89b9 Remove fig.packages replace with real deps. 11 anni fa
tests d978787fcc Merge pull request #439 from dnephin/faster_integration_tests 11 anni fa
.gitignore 779f4bda01 Fix cli for python 2.6 11 anni fa
.travis.yml 7fd37c89b9 Remove fig.packages replace with real deps. 11 anni fa
CHANGES.md a6324d6226 Ship 0.5.2 11 anni fa
CONTRIBUTING.md 6ab084a338 Merge pull request #390 from bfirsh/remove-integration-tests-from-ci 11 anni fa
Dockerfile 7a8f5e10fd Add wercker.yml 11 anni fa
LICENSE 99064d17dd Docker, Inc. 11 anni fa
MAINTAINERS 8fa85ecc05 Add maintainers file 11 anni fa
MANIFEST.in 229b59bd6e remove tests from distribution build 12 anni fa
README.md a39460d7b2 Merge pull request #392 from bfirsh/more-official-images 11 anni fa
requirements-dev.txt 7fd37c89b9 Remove fig.packages replace with real deps. 11 anni fa
requirements.txt b0159e5100 Upgrade to docker-py 0.5.0 11 anni fa
setup.py b0159e5100 Upgrade to docker-py 0.5.0 11 anni fa
tox.ini 7fd37c89b9 Remove fig.packages replace with real deps. 11 anni fa
wercker.yml 7a8f5e10fd Add wercker.yml 11 anni fa

README.md

Fig

Build Status PyPI version

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.