Tidak Ada Deskripsi

Aanand Prasad 1346805bef Merge pull request #391 from bfirsh/repository-move 11 tahun lalu
bin 9550387e39 Add script to build an OS X binary 11 tahun lalu
docs fc3c12ad90 Update repository URL 11 tahun lalu
fig 2f6c763703 Merge pull request #353 from dnephin/add_flake8 11 tahun lalu
script fc3c12ad90 Update repository URL 11 tahun lalu
tests 0dc55fda45 Merge pull request #322 from dnephin/fix_cli_for_py26 11 tahun lalu
.gitignore 779f4bda01 Fix cli for python 2.6 11 tahun lalu
.travis.yml 939406ca9d Run flake8 in travis build 11 tahun lalu
CHANGES.md a6324d6226 Ship 0.5.2 11 tahun lalu
CONTRIBUTING.md fc3c12ad90 Update repository URL 11 tahun lalu
Dockerfile d600b3498b Remove entrypoint from dockerfile 11 tahun lalu
LICENSE 99064d17dd Docker, Inc. 11 tahun lalu
MAINTAINERS 8fa85ecc05 Add maintainers file 11 tahun lalu
MANIFEST.in 229b59bd6e remove tests from distribution build 11 tahun lalu
README.md fc3c12ad90 Update repository URL 11 tahun lalu
requirements-dev.txt 50a24bc3bf Add flake8 and fix errors. 11 tahun lalu
requirements.txt 847ec5b559 Update dockerpty -> 0.2.3 11 tahun lalu
setup.py c0450f7df0 Resolves #366, non-pinned versions in setup.py:install_requires 11 tahun lalu
tox.ini 50a24bc3bf Add flake8 and fix errors. 11 tahun lalu

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 orchardup/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: orchardup/postgresql

(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.