Skip to content

Commit

Permalink
Starter examples updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
idlesign committed Jul 24, 2017
1 parent f6d72ff commit 35237d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
12 changes: 3 additions & 9 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,16 +73,10 @@ There we configure it using nice ``PythonSection`` preset to run our web app.
PythonSection(
# Reload uWSGI when this file is updated.
# Reload uWSGI when this file is touched/updated.
touch_reload=__file__,
params_python=dict(
python_home='/home/idle/venv/',
search_path='/home/idle/apps/',
),
# Load wsgi.py module from myapp package.
wsgi_module='myapp.wsgi',
# Load wsgi.py module containing WSGI application.
wsgi_module='/home/idle/myapp/wsgi.py',
).networking.register_socket(
# Make app available at http://127.0.0.1:8000
Expand Down
1 change: 1 addition & 0 deletions docs/source/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ There we configure it using nice ``PythonSection`` preset to run our web app.
touch_reload=__file__,
python_params=dict(
# We'll run our app using virtualenv.
python_home='/home/idle/venv/',
search_path='/home/idle/apps/',
),
Expand Down

0 comments on commit 35237d2

Please sign in to comment.