|
|
%!s(int64=11) %!d(string=hai) anos | |
|---|---|---|
| bin | %!s(int64=11) %!d(string=hai) anos | |
| docs | %!s(int64=11) %!d(string=hai) anos | |
| fig | %!s(int64=11) %!d(string=hai) anos | |
| script | %!s(int64=11) %!d(string=hai) anos | |
| tests | %!s(int64=11) %!d(string=hai) anos | |
| .gitignore | %!s(int64=11) %!d(string=hai) anos | |
| .travis.yml | %!s(int64=11) %!d(string=hai) anos | |
| CHANGES.md | %!s(int64=11) %!d(string=hai) anos | |
| CONTRIBUTING.md | %!s(int64=11) %!d(string=hai) anos | |
| Dockerfile | %!s(int64=11) %!d(string=hai) anos | |
| LICENSE | %!s(int64=11) %!d(string=hai) anos | |
| MAINTAINERS | %!s(int64=11) %!d(string=hai) anos | |
| MANIFEST.in | %!s(int64=11) %!d(string=hai) anos | |
| README.md | %!s(int64=11) %!d(string=hai) anos | |
| requirements-dev.txt | %!s(int64=11) %!d(string=hai) anos | |
| requirements.txt | %!s(int64=11) %!d(string=hai) anos | |
| setup.py | %!s(int64=11) %!d(string=hai) anos | |
| tox.ini | %!s(int64=11) %!d(string=hai) anos |
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:
There are commands to:
Full documentation is available on Fig's website.