py4web - some questions

75 views
Skip to first unread message

lyn2py

unread,
Mar 2, 2020, 10:39:54 AM3/2/20
to web2py-users
Hi,

May I know where is the "right" or "best" place to put my custom modules (those I wrote myself) in py4web?

I usually have many controller files in web2py. With py4web, does it mean that there will only be 1 controller file and all the controllers go into that file only?

Why is there a need to "make install"? (sorry for the noob question) I really liked that I can just use web2py out of the box.

Thanks!

Jim S

unread,
Mar 2, 2020, 12:24:11 PM3/2/20
to web2py-users
Where are you seeing a need for make install?  I haven't run across it.

-Jim

lyn2py

unread,
Mar 2, 2020, 8:22:21 PM3/2/20
to web2py-users

Try me (install from source)

git clone https://github.com/web2py/py4web.git
cd py4web
make assets
make test
make install
py4web-start.py apps
open http://localhost:8000/todo/index
https://github.com/web2py/py4web

Jim Steil

unread,
Mar 2, 2020, 8:25:28 PM3/2/20
to web...@googlegroups.com
Is there a reason why you  aren't just pip installing it?

python3 -m pip install --upgrade py4web

Jim


--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to a topic in the Google Groups "web2py-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/u9cGPSB6e9Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/ac8f1269-2004-4f99-8488-687eb22684b7%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages