Skip to content

Commit 11eda29

Browse files
committed
Merge pull request mattmakai#54 from mjhea0/gh-pages
updates ...
2 parents 622e3ce + 8e35971 commit 11eda29

File tree

7 files changed

+63
-46
lines changed

7 files changed

+63
-46
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,4 @@ pip-log.txt
3333
*~
3434

3535
source/cache/
36+
venv

CONTRIBUTING.rst

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,44 +2,48 @@
22
Contributing
33
============
44

5-
Contributions are welcome and greatly appreciated!
5+
Contributions are welcome and greatly appreciated!
66

77

88
Fix Typos, Grammar Errors, etc
99
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1010

11-
Create pull requests at
11+
Create pull requests at
1212
https://github.com/makaimc/fullstackpython.github.com/pulls.
1313

1414

1515
Submit Feedback
1616
~~~~~~~~~~~~~~~
1717

18-
The best way to send feedback is to file an issue at
18+
The best way to send feedback is to file an issue at
1919
https://github.com/makaimc/fullstackpython.github.com/issues.
2020

2121

2222
Get Started!
2323
------------
2424

25-
If you're not familiar with `Pelican <http://docs.getpelican.com/>`_, check out the blog post on
25+
If you're not familiar with `Pelican <http://docs.getpelican.com/>`_, check out the blog post on
2626
`Getting Started with Pelican and GitHub Pages <http://www.mattmakai.com/introduction-to-pelican.html>`_.
2727

28-
Ready to contribute? Here's how to set up Full Stack Python for local
28+
Ready to contribute? Here's how to set up Full Stack Python for local
2929
development.
3030

3131
1. Fork the `fullstackpython.github.com <https://github.com/makaimc/fullstackpython.github.com>`_ repo on GitHub.
3232

33-
2. Clone your fork locally::
33+
1. Clone your fork locally::
3434

3535
$ git clone git@github.com:your_name_here/fullstackpython.github.com.git fsp
3636

37-
3. Install your local copy into a virtualenv and set up your fork for local development::
37+
1. Install your local copy into a virtualenv and set up your fork for local development::
3838

3939
$ virtualenv --no-site-packages venvs/fsp
4040
$ source venvs/fsp/bin/activate
4141
$ cd fsp
4242

43+
1. Install the requirements:
44+
45+
$ pip install -r source/requirements.txt
46+
4347
Note: make changes to the source/content/pages/\*.rst files then execute a
4448
*make run* command from the source/ directory.
4549

all.html

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1901,22 +1901,25 @@ <h1>Bottle</h1>
19011901
<h2>Bottle resources</h2>
19021902
<ul>
19031903
<li>
1904-
<p>The <a href="http://bottlepy.org/docs/dev/tutorial.html">official Bottle tutorial</a>
1904+
<p>The <a href="http://bottlepy.org/docs/dev/tutorial.html">official Bottle tutorial</a>
19051905
provides a thorough view of basic concepts and features for the framework.</p>
19061906
</li>
19071907
<li>
19081908
<p>Digital Ocean provides an extensive <a href="https://www.digitalocean.com/community/articles/how-to-use-the-bottle-micro-framework-to-develop-python-web-apps">introductory post on Bottle</a>.</p>
19091909
</li>
19101910
<li>
1911+
<p><a href="https://realpython.com/blog/python/developing-with-bottle-part-1/">Developing With Bottle</a> details how to create a basic application with Bottle.</p>
1912+
</li>
1913+
<li>
19111914
<p>This tutorial provides a walkthrough for
19121915
<a href="http://www.giantflyingsaucer.com/blog/?p=3598">getting started with Bottle</a>.</p>
19131916
</li>
19141917
<li>
1915-
<p>Here's a short code snippet for
1918+
<p>Here's a short code snippet for
19161919
<a href="http://myadventuresincoding.wordpress.com/2011/01/02/creating-a-rest-api-in-python-using-bottle-and-mongodb/">creating a RESTful API with Bottle and MongoDB</a>.</p>
19171920
</li>
19181921
<li>
1919-
<p>This <a href="http://gotofritz.net/blog/weekly-challenge/restful-python-api-bottle/">tutorial</a>
1922+
<p>This <a href="http://gotofritz.net/blog/weekly-challenge/restful-python-api-bottle/">tutorial</a>
19201923
is another Bottle walkthrough for creating a RESTful web API.</p>
19211924
</li>
19221925
<li>
@@ -1937,27 +1940,27 @@ <h2>Open source Bottle example projects</h2>
19371940
Bottle.</p>
19381941
</li>
19391942
<li>
1940-
<p><a href="http://gengo.github.io/decanter/">Decanter</a> is a library for structuring
1943+
<p><a href="http://gengo.github.io/decanter/">Decanter</a> is a library for structuring
19411944
Bottle projects.</p>
19421945
</li>
19431946
</ul>
19441947
<h2>Bottle framework learning checklist</h2>
19451948
<ol>
19461949
<li>
1947-
<p><a href="https://github.com/defnull/bottle/raw/master/bottle.py">Download Bottle</a>
1948-
or install via pip with <code>pip install bottle</code> on your local development
1950+
<p><a href="https://github.com/defnull/bottle/raw/master/bottle.py">Download Bottle</a>
1951+
or install via pip with <code>pip install bottle</code> on your local development
19491952
machine.</p>
19501953
</li>
19511954
<li>
1952-
<p>Work through the official
1955+
<p>Work through the official
19531956
<a href="http://bottlepy.org/docs/dev/tutorial.html">Bottle tutorial</a>.</p>
19541957
</li>
19551958
<li>
1956-
<p>Start coding your Bottle app based on what you learned in the official
1957-
tutorial plus reading open source example applications found below. </p>
1959+
<p>Start coding your Bottle app based on what you learned in the official
1960+
tutorial plus reading open source example applications found above.</p>
19581961
</li>
19591962
<li>
1960-
<p>Move on to the <a href="/deployment.html">deployment section</a> to get your initial
1963+
<p>Move on to the <a href="/deployment.html">deployment section</a> to get your initial
19611964
Bottle application on the web.</p>
19621965
</li>
19631966
</ol>

bottle.html

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,22 +42,25 @@ <h1>Bottle</h1>
4242
<h2>Bottle resources</h2>
4343
<ul>
4444
<li>
45-
<p>The <a href="http://bottlepy.org/docs/dev/tutorial.html">official Bottle tutorial</a>
45+
<p>The <a href="http://bottlepy.org/docs/dev/tutorial.html">official Bottle tutorial</a>
4646
provides a thorough view of basic concepts and features for the framework.</p>
4747
</li>
4848
<li>
4949
<p>Digital Ocean provides an extensive <a href="https://www.digitalocean.com/community/articles/how-to-use-the-bottle-micro-framework-to-develop-python-web-apps">introductory post on Bottle</a>.</p>
5050
</li>
5151
<li>
52+
<p><a href="https://realpython.com/blog/python/developing-with-bottle-part-1/">Developing With Bottle</a> details how to create a basic application with Bottle.</p>
53+
</li>
54+
<li>
5255
<p>This tutorial provides a walkthrough for
5356
<a href="http://www.giantflyingsaucer.com/blog/?p=3598">getting started with Bottle</a>.</p>
5457
</li>
5558
<li>
56-
<p>Here's a short code snippet for
59+
<p>Here's a short code snippet for
5760
<a href="http://myadventuresincoding.wordpress.com/2011/01/02/creating-a-rest-api-in-python-using-bottle-and-mongodb/">creating a RESTful API with Bottle and MongoDB</a>.</p>
5861
</li>
5962
<li>
60-
<p>This <a href="http://gotofritz.net/blog/weekly-challenge/restful-python-api-bottle/">tutorial</a>
63+
<p>This <a href="http://gotofritz.net/blog/weekly-challenge/restful-python-api-bottle/">tutorial</a>
6164
is another Bottle walkthrough for creating a RESTful web API.</p>
6265
</li>
6366
<li>
@@ -78,27 +81,27 @@ <h2>Open source Bottle example projects</h2>
7881
Bottle.</p>
7982
</li>
8083
<li>
81-
<p><a href="http://gengo.github.io/decanter/">Decanter</a> is a library for structuring
84+
<p><a href="http://gengo.github.io/decanter/">Decanter</a> is a library for structuring
8285
Bottle projects.</p>
8386
</li>
8487
</ul>
8588
<h2>Bottle framework learning checklist</h2>
8689
<ol>
8790
<li>
88-
<p><a href="https://github.com/defnull/bottle/raw/master/bottle.py">Download Bottle</a>
89-
or install via pip with <code>pip install bottle</code> on your local development
91+
<p><a href="https://github.com/defnull/bottle/raw/master/bottle.py">Download Bottle</a>
92+
or install via pip with <code>pip install bottle</code> on your local development
9093
machine.</p>
9194
</li>
9295
<li>
93-
<p>Work through the official
96+
<p>Work through the official
9497
<a href="http://bottlepy.org/docs/dev/tutorial.html">Bottle tutorial</a>.</p>
9598
</li>
9699
<li>
97-
<p>Start coding your Bottle app based on what you learned in the official
98-
tutorial plus reading open source example applications found below. </p>
100+
<p>Start coding your Bottle app based on what you learned in the official
101+
tutorial plus reading open source example applications found above.</p>
99102
</li>
100103
<li>
101-
<p>Move on to the <a href="/deployment.html">deployment section</a> to get your initial
104+
<p>Move on to the <a href="/deployment.html">deployment section</a> to get your initial
102105
Bottle application on the web.</p>
103106
</li>
104107
</ol>

feeds/all.atom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<feed xmlns="http://www.w3.org/2005/Atom"><title>Matt Makai</title><link href="http://www.fullstackpython.com/" rel="alternate"></link><link href="http://www.fullstackpython.com/feeds/all.atom.xml" rel="self"></link><id>http://www.fullstackpython.com/</id><updated>2015-06-13T09:50:31Z</updated></feed>
2+
<feed xmlns="http://www.w3.org/2005/Atom"><title>Matt Makai</title><link href="http://www.fullstackpython.com/" rel="alternate"></link><link href="http://www.fullstackpython.com/feeds/all.atom.xml" rel="self"></link><id>http://www.fullstackpython.com/</id><updated>2015-06-14T09:42:37Z</updated></feed>

source/content/pages/04-web-development/04-bottle.markdown

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ title: Bottle
22
category: page
33
slug: bottle
44
sort-order: 0404
5-
meta: Bottle is a Python web framework contained within a single source file. Learn more about Bottle on Full Stack Python.
5+
meta: Bottle is a Python web framework contained within a single source file. Learn more about Bottle on Full Stack Python.
66

77

88
# Bottle
@@ -13,18 +13,20 @@ included with Python.
1313

1414

1515
## Bottle resources
16-
* The [official Bottle tutorial](http://bottlepy.org/docs/dev/tutorial.html)
16+
* The [official Bottle tutorial](http://bottlepy.org/docs/dev/tutorial.html)
1717
provides a thorough view of basic concepts and features for the framework.
1818

1919
* Digital Ocean provides an extensive [introductory post on Bottle](https://www.digitalocean.com/community/articles/how-to-use-the-bottle-micro-framework-to-develop-python-web-apps).
2020

21+
* [Developing With Bottle](https://realpython.com/blog/python/developing-with-bottle-part-1/) details how to create a basic application with Bottle.
22+
2123
* This tutorial provides a walkthrough for
2224
[getting started with Bottle](http://www.giantflyingsaucer.com/blog/?p=3598).
2325

24-
* Here's a short code snippet for
26+
* Here's a short code snippet for
2527
[creating a RESTful API with Bottle and MongoDB](http://myadventuresincoding.wordpress.com/2011/01/02/creating-a-rest-api-in-python-using-bottle-and-mongodb/).
2628

27-
* This [tutorial](http://gotofritz.net/blog/weekly-challenge/restful-python-api-bottle/)
29+
* This [tutorial](http://gotofritz.net/blog/weekly-challenge/restful-python-api-bottle/)
2830
is another Bottle walkthrough for creating a RESTful web API.
2931

3032
* [BAM! A Web Framework "Short Stack"](http://reachtim.com/articles/BAM-Short-Stack.html)
@@ -40,22 +42,22 @@ included with Python.
4042
* [Pattle](https://github.com/thekad/pasttle) is a pastebin clone built with
4143
Bottle.
4244

43-
* [Decanter](http://gengo.github.io/decanter/) is a library for structuring
45+
* [Decanter](http://gengo.github.io/decanter/) is a library for structuring
4446
Bottle projects.
4547

4648

4749

4850
## Bottle framework learning checklist
49-
1. [Download Bottle](https://github.com/defnull/bottle/raw/master/bottle.py)
50-
or install via pip with ``pip install bottle`` on your local development
51+
1. [Download Bottle](https://github.com/defnull/bottle/raw/master/bottle.py)
52+
or install via pip with ``pip install bottle`` on your local development
5153
machine.
5254

53-
1. Work through the official
55+
1. Work through the official
5456
[Bottle tutorial](http://bottlepy.org/docs/dev/tutorial.html).
5557

56-
1. Start coding your Bottle app based on what you learned in the official
57-
tutorial plus reading open source example applications found below.
58+
1. Start coding your Bottle app based on what you learned in the official
59+
tutorial plus reading open source example applications found above.
5860

59-
1. Move on to the [deployment section](/deployment.html) to get your initial
61+
1. Move on to the [deployment section](/deployment.html) to get your initial
6062
Bottle application on the web.
6163

source/static-html/CONTRIBUTING.rst

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,44 +2,48 @@
22
Contributing
33
============
44

5-
Contributions are welcome and greatly appreciated!
5+
Contributions are welcome and greatly appreciated!
66

77

88
Fix Typos, Grammar Errors, etc
99
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1010

11-
Create pull requests at
11+
Create pull requests at
1212
https://github.com/makaimc/fullstackpython.github.com/pulls.
1313

1414

1515
Submit Feedback
1616
~~~~~~~~~~~~~~~
1717

18-
The best way to send feedback is to file an issue at
18+
The best way to send feedback is to file an issue at
1919
https://github.com/makaimc/fullstackpython.github.com/issues.
2020

2121

2222
Get Started!
2323
------------
2424

25-
If you're not familiar with `Pelican <http://docs.getpelican.com/>`_, check out the blog post on
25+
If you're not familiar with `Pelican <http://docs.getpelican.com/>`_, check out the blog post on
2626
`Getting Started with Pelican and GitHub Pages <http://www.mattmakai.com/introduction-to-pelican.html>`_.
2727

28-
Ready to contribute? Here's how to set up Full Stack Python for local
28+
Ready to contribute? Here's how to set up Full Stack Python for local
2929
development.
3030

3131
1. Fork the `fullstackpython.github.com <https://github.com/makaimc/fullstackpython.github.com>`_ repo on GitHub.
3232

33-
2. Clone your fork locally::
33+
1. Clone your fork locally::
3434

3535
$ git clone git@github.com:your_name_here/fullstackpython.github.com.git fsp
3636

37-
3. Install your local copy into a virtualenv and set up your fork for local development::
37+
1. Install your local copy into a virtualenv and set up your fork for local development::
3838

3939
$ virtualenv --no-site-packages venvs/fsp
4040
$ source venvs/fsp/bin/activate
4141
$ cd fsp
4242

43+
1. Install the requirements:
44+
45+
$ pip install -r source/requirements.txt
46+
4347
Note: make changes to the source/content/pages/\*.rst files then execute a
4448
*make run* command from the source/ directory.
4549

0 commit comments

Comments
 (0)