try this
------------------------
cd /home/w2p/web2py
python -c "import gluon.compileapp; 
gluon.compileapp.compile_application('applications/myapp')"

# for using gzip compression with nginx
# 
https://www.digitalocean.com/community/tutorials/how-to-add-the-gzip-module-to-nginx-on-ubuntu-14-04
# replace in zip_static_files.py  print with print()
# python web2py.py -S myapp  -R scripts/zip_static_files.py | grep -v skip
cd -
-----------------------------------

среда, 28 февраля 2018 г., 2:26:10 UTC+3 пользователь Yoel Benitez Fonseca 
написал:
>
> Is there a way of compiling a web2py application from the command line ? 
>
> -- 
> Msc. Yoel Benítez Fonseca 
>

-- 
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 the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to