Skip to content

Commit 2716645

Browse files
author
Tobias Fuhrimann
committed
adjust first steps to python
1 parent de520f4 commit 2716645

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

index.html.md.erb

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@ This tutorial will have you deploying a Python app in minutes.
99

1010
Hang on for a few more minutes to learn how it all works, so you can make the most out of <%= vars.product_full %>.
1111

12-
The tutorial assumes that you have an <a href="https://console.developer.swisscom.com" target="_blank"><%= vars.product_short %> account</a>, and that you have <a href="https://nodejs.org/en/download" target="_blank">Python and npm</a> installed locally.
12+
The tutorial assumes that you have:
13+
14+
* An <a href="https://console.developer.swisscom.com" target="_blank"><%= vars.product_short %> account</a>
15+
* Python installed locally - see the installation guides for <a href="http://docs.python-guide.org/en/latest/starting/install/osx/" target="_blank">OS X</a>, <a href="http://docs.python-guide.org/en/latest/starting/install/win/" target="_blank">Windows</a>, and <a href="http://docs.python-guide.org/en/latest/starting/install/linux/" target="_blank">Linux</a>.
16+
* Setuptools and Pip installed locally. See the Python install guides above for installation instructions.
17+
* <a href="https://github.com/kennethreitz/python-guide/blob/master/docs/dev/virtualenvs.rst" target="_blank">Virtualenv</a> installed locally. Accomplish this by running `pip install virtualenv`.
1318

1419
Furthermore, you must have a first Cloud Foundry <a href="http://docs.developer.swisscom.com/concepts/roles.html#orgs" target="_blank">Organization</a> and <a href="http://docs.developer.swisscom.com/concepts/roles.html#spaces" target="_blank">Space</a> to push your apps to. In case you don't have that yet, please follow the <a href="https://console.developer.swisscom.com" target="_blank">tutorials in the web console</a> before returning here.
1520

prepare.html.md.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ Execute the following commands to clone the sample application:
1010

1111
<pre class="terminal">
1212
$ git clone https://github.com/swisscom/cf-sample-app-python.git
13-
$ cd my-python-app
13+
$ cd cf-sample-app-python
1414
</pre>
1515

16-
You now have a functioning git repository that contains a simple application as well as a `package.json` file, which is used by Node’s dependency manager npm.
16+
You now have a functioning git repository that contains a simple <a href="http://flask.pocoo.org/" target="_blank">Flask</a> application as well as a `requirements.txt` file, which is used by Python's dependency manager pip.
1717

1818
<div style="text-align:center;margin:3em;">
1919
<a href="./deploy.html" class="btn btn-primary">I cloned the App source</a>

0 commit comments

Comments
 (0)