1
0

Тайлбар байхгүй

Michael A. Smith 782a46fd60 Fixes #602 Allowing `help $cmd` with no figfile 11 жил өмнө
bin 9550387e39 Add script to build an OS X binary 11 жил өмнө
docs b47ab2b0f6 Update wordpress url on wordpress example 11 жил өмнө
fig 782a46fd60 Fixes #602 Allowing `help $cmd` with no figfile 11 жил өмнө
script 60411e9f05 Vendor dockerpty at c8b493553477c9a57d163c71c97b2102f44a6ce7 11 жил өмнө
tests 782a46fd60 Fixes #602 Allowing `help $cmd` with no figfile 11 жил өмнө
.dockerignore e66c0452d5 Add .dockerignore 11 жил өмнө
.gitignore 779f4bda01 Fix cli for python 2.6 11 жил өмнө
CHANGES.md 2efb4f5be0 Merge pull request #550 from bfirsh/fix-date-on-change-notes 11 жил өмнө
CONTRIBUTING.md 899670fc6c Move building binaries instructions 11 жил өмнө
Dockerfile b4fbab4b56 Run pyinstaller build as normal user 11 жил өмнө
LICENSE 99064d17dd Docker, Inc. 11 жил өмнө
MAINTAINERS 8fa85ecc05 Add maintainers file 11 жил өмнө
MANIFEST.in 229b59bd6e remove tests from distribution build 11 жил өмнө
README.md 6b600faf0b Update wercker badge 11 жил өмнө
requirements-dev.txt 7fd37c89b9 Remove fig.packages replace with real deps. 11 жил өмнө
requirements.txt 0f58b9f6b4 Update docker-py to 0.5.3 11 жил өмнө
setup.py 67d4b7c587 Merge pull request #574 from bfirsh/update-tagline 11 жил өмнө
tox.ini 7544580b4b Resolves #553, Resolves #546 - bug fixes with unit tests 11 жил өмнө
wercker.yml b4fbab4b56 Run pyinstaller build as normal user 11 жил өмнө

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.