Permalink
Browse files

[svn] removed all the windows full script path name instructions,

since we can now assume users have been through the new windows notes
and have a happy PATH
resolves: #83

--HG--
branch : trunk
  • Loading branch information...
1 parent e362d3b commit 3d426fea7d19b46a6738a531fe9821d8466bc7b9 pjenvey committed Jul 26, 2006
Showing with 1 addition and 48 deletions.
  1. +0 −4 docs/deployment.txt
  2. +0 −4 docs/error_documents.txt
  3. +1 −7 docs/getting_started.txt
  4. +0 −13 docs/internationalization.txt
  5. +0 −20 docs/security.txt
View
@@ -20,10 +20,6 @@ If users want to install your software and have installed easy install they can
easy_install helloworld==0.1.0
-Windows users might need to use::
-
- C:\Python24\Scripts\easy_install helloworld-0.1.0
-
This will retrieve the package from the CheeseShop and install it. Alternatively you can install the egg locally::
easy_install -f C:\path\with\the\egg\files\in helloworld==0.1.0
View
@@ -92,10 +92,6 @@ Add a controller to your project named ``error_doc_test``::
paster controller error_doc_test
-or on Windows::
-
- python C:/Python24/Scripts/paster controller error_doc_test
-
Modify your controller's ``index()`` action to look like this::
def index(self):
View
@@ -15,10 +15,8 @@ Create a new project named ``helloworld`` with this command::
paster create --template=pylons helloworld
-Windows users may have to configure their PATH as described in `Windows Notes <windowsnotes.html>`_ or use a slightly longer version using the appropriate path to their ``Scripts`` directory::
+Note: Windows users must configure their ``PATH`` as described in `Windows Notes <windowsnotes.html>`_, otherwise they must specify the full path name to the ``paster`` command.
- python "C:\Python24\Scripts\paster" create --template=pylons helloworld
-
This creates a new Pylons project which you can use as a basis for your own project. The directory structure is as follows::
- helloworld
@@ -81,10 +79,6 @@ We can test the template project like this::
cd helloworld
paster serve --reload development.ini
-Again Windows users may need a slightly longer version of the command with the path to their ``Scripts`` directory if they haven't followed the instructions in `Windows Notes <windowsnotes.html>`_::
-
- python "C:\Python24\Scripts\paster" serve --reload development.ini
-
The command loads our project server configuration file in ``development.ini`` and serves the Pylons application.
The ``--reload`` option ensures that the server is automatically reloaded if you make any changes to Python files or the ``development.ini`` config file. This is very useful during development.
@@ -10,20 +10,11 @@ Lets call our project ``translate_demo``::
paster create --template=pylons translate_demo
-Or on Windows::
-
- python C:\Python24\Scripts\paster create --template=pylons translate_demo
-
Now lets add a friendly controller that says hello::
cd translate_demo
paster controller hello
-Or on Windows::
-
- cd translate_demo
- python C:\Python24\Scripts\paster controller hello
-
Edit ``controllers/hello.py`` controller to look like this making use of the ``_()`` helper method everywhere where the string ``Hello`` appears::
from translate_demo.lib.base import *
@@ -111,10 +102,6 @@ Start the server with the following command::
paster serve --reload development.ini
-Or on Windows::
-
- python C:\Python24\Scripts\paster serve --reload development.ini
-
Test your controller by visiting http://localhost:5000/hello. You should see the following output::
Default: Hello
View
@@ -29,10 +29,6 @@ Then add security controllers and templates::
paster security
-or on Windows::
-
- python C:\Python24\Scripts\paster security
-
You might also want to add an ``autohandler`` to ``templates/security`` that looks something like this so that your security templates produce proper HTML pages::
<html>
@@ -48,10 +44,6 @@ Add a new controller::
paster controller permissions
-or on Windows::
-
- python C:\Python24\Scripts\paster controller permissions
-
Now edit your ``permissions.py`` controller to look like this::
from securityapp.lib.base import *
@@ -123,10 +115,6 @@ Start the server::
paster serve --reload server.conf
-or on Windows::
-
- python "C:\Python24\Scripts\paster" serve --reload server.conf
-
and visit http://localhost:5000/permissions/ to test that the sign in form is correctly displayed.
You can specify who is allowed to sign in by modifying the `SimplestAuthenticator`` class's ``check_auth()`` method in your ``__init__.py`` file.
@@ -171,10 +159,6 @@ Add a new controller::
paster controller auth
-or on Windows::
-
- python C:\Python24\Scripts\paster controller auth
-
Now edit your ``auth.py`` controller to look like this::
from securityapp.lib.base import *
@@ -198,10 +182,6 @@ Start the server::
paster serve --reload server.conf
-or on Windows::
-
- python "C:\Python24\Scripts\paster" serve --reload server.conf
-
and visit http://localhost:5000/ to test that the sign in form is correctly displayed. You can try commenting out the line ``app = ShowSignInOn403(app)`` in ``__init__.py`` and you will see that the 403 error no longer results in a sign in being displayed.
NB. The sign in won't appear to do anything yet since even though we are signed in the methods still produce the status codes to make the sign in appear.

0 comments on commit 3d426fe

Please sign in to comment.