Skip to content

Commit

Permalink
Update chapter-03.rst (#813)
Browse files Browse the repository at this point in the history
Added how to get further in the windows installation if py4web is not on the path.
  • Loading branch information
mrworm authored Oct 29, 2023
1 parent e48c24b commit efa4935
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions docs/chapter-03.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ An apps folder is a python module, and each app is also a python module.
Supported platforms and prerequisites
-------------------------------------

PY4WEB runs fine on Windows, MacOS and Linux. Its only prerequisite is
py4web runs fine on Windows, MacOS and Linux. Its only prerequisite is
Python 3.7+, which must be installed in advance (except if you use binaries).


Setup procedures
----------------

There are four alternative ways of running py4web, with different level
There are four alternative ways of installing py4web, with different level
of difficulty and flexibility. Let’s look at the pros and cons.

Installing from binaries
Expand Down Expand Up @@ -87,7 +87,14 @@ on any given working folder with
If the command py4web is not accepted, it means it’s not in the system’s
path. On Windows, a special py4web.exe file (pointing to py4web.py) will
be created by *pip* on the system’s path, but not if you type the
*–user* option by mistake.
*–user* option by mistake, then you can run the needed commands like this

::

python3 py4web.py setup apps
python3 py4web.py set_password
python3 py4web.py run apps


Installing using a virtual environment
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down

0 comments on commit efa4935

Please sign in to comment.