update
This commit is contained in:
parent
a6ae3ed144
commit
3d5190d6d4
8 changed files with 10 additions and 20 deletions
2
cli.html
2
cli.html
|
|
@ -6,7 +6,7 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href='http://fonts.googleapis.com/css?family=Lilita+One|Lato:300,400,700' rel='stylesheet' type='text/css'>
|
||||
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="css/fig.css?20140305091426861355716">
|
||||
<link rel="stylesheet" type="text/css" href="css/fig.css?20140325121247354724559">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href='http://fonts.googleapis.com/css?family=Lilita+One|Lato:300,400,700' rel='stylesheet' type='text/css'>
|
||||
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="css/fig.css?20140305091426861355716">
|
||||
<link rel="stylesheet" type="text/css" href="css/fig.css?20140325121247354724559">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
|
|
@ -48,7 +48,7 @@ web:
|
|||
links:
|
||||
- db
|
||||
</code></pre></div>
|
||||
<p>See the <a href=""><code>fig.yml</code> reference</a> for more information on how it works.</p>
|
||||
<p>See the <a href="http://orchardup.github.io/fig/yml.html"><code>fig.yml</code> reference</a> for more information on how it works.</p>
|
||||
|
||||
<p>We can now start a Django project using <code>fig run</code>:</p>
|
||||
<div class="highlight"><pre><code class="text language-text" data-lang="text">$ fig run web django-admin.py startproject figexample .
|
||||
|
|
|
|||
2
env.html
2
env.html
|
|
@ -6,7 +6,7 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href='http://fonts.googleapis.com/css?family=Lilita+One|Lato:300,400,700' rel='stylesheet' type='text/css'>
|
||||
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="css/fig.css?20140305091426861355716">
|
||||
<link rel="stylesheet" type="text/css" href="css/fig.css?20140325121247354724559">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
|
|
|
|||
14
index.html
14
index.html
|
|
@ -6,7 +6,7 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href='http://fonts.googleapis.com/css?family=Lilita+One|Lato:300,400,700' rel='stylesheet' type='text/css'>
|
||||
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="css/fig.css?20140305091426861355716">
|
||||
<link rel="stylesheet" type="text/css" href="css/fig.css?20140325121247354724559">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
|
|
@ -57,17 +57,7 @@ RUN pip install -r requirements.txt
|
|||
|
||||
<p>Let's get a basic Python web app running on Fig. It assumes a little knowledge of Python, but the concepts should be clear if you're not familiar with it.</p>
|
||||
|
||||
<p>First, install Docker. If you're on OS X, you can use <a href="https://github.com/noplay/docker-osx">docker-osx</a>:</p>
|
||||
<div class="highlight"><pre><code class="text language-text" data-lang="text">$ curl https://raw.github.com/noplay/docker-osx/0.7.6/docker-osx > /usr/local/bin/docker-osx
|
||||
$ chmod +x /usr/local/bin/docker-osx
|
||||
$ docker-osx shell
|
||||
</code></pre></div>
|
||||
<p>Docker has guides for <a href="http://docs.docker.io/en/latest/installation/ubuntulinux/">Ubuntu</a> and <a href="http://docs.docker.io/en/latest/installation/">other platforms</a> in their documentation.</p>
|
||||
|
||||
<p>Next, install Fig:</p>
|
||||
<div class="highlight"><pre><code class="text language-text" data-lang="text">$ sudo pip install -U fig
|
||||
</code></pre></div>
|
||||
<p>(This command also upgrades Fig when we release a new version. If you don’t have pip installed, try <code>brew install python</code> or <code>apt-get install python-pip</code>.)</p>
|
||||
<p>First, <a href="install.html">install Docker and Fig</a>.</p>
|
||||
|
||||
<p>You'll want to make a directory for the project:</p>
|
||||
<div class="highlight"><pre><code class="text language-text" data-lang="text">$ mkdir figtest
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href='http://fonts.googleapis.com/css?family=Lilita+One|Lato:300,400,700' rel='stylesheet' type='text/css'>
|
||||
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="css/fig.css?20140305091426861355716">
|
||||
<link rel="stylesheet" type="text/css" href="css/fig.css?20140325121247354724559">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href='http://fonts.googleapis.com/css?family=Lilita+One|Lato:300,400,700' rel='stylesheet' type='text/css'>
|
||||
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="css/fig.css?20140305091426861355716">
|
||||
<link rel="stylesheet" type="text/css" href="css/fig.css?20140325121247354724559">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href='http://fonts.googleapis.com/css?family=Lilita+One|Lato:300,400,700' rel='stylesheet' type='text/css'>
|
||||
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="css/fig.css?20140305091426861355716">
|
||||
<link rel="stylesheet" type="text/css" href="css/fig.css?20140325121247354724559">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
|
|
|
|||
2
yml.html
2
yml.html
|
|
@ -6,7 +6,7 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href='http://fonts.googleapis.com/css?family=Lilita+One|Lato:300,400,700' rel='stylesheet' type='text/css'>
|
||||
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="css/fig.css?20140305091426861355716">
|
||||
<link rel="stylesheet" type="text/css" href="css/fig.css?20140325121247354724559">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue