web2pyrecipe. Ranking & Zusammenfassung
- Name des Herausgebers:
- Douglas Camata
- Website des Verlags:
- http://github.com/douglascamata/
web2pyrecipe. Stichworte
web2pyrecipe. Beschreibung
Ein web2py-Rezept für den Buildout Web2PeReRecipe ist ein Buildout, um das web2pyreecipe zu entwickeln. Fragen und Kommentare zu d.camata@gmail.com- Fehler bei http://github.com/douglascamata/web2pyreRecipe/issues..Detailed Dokumentationen unterstützt OptionsAppdir Das Verzeichnis, in dem die komprimierte web2py-Anwendung sein sollte ... Standard Die Standard-App von Der Web2py-Server ... Kennwort Das Passwort für wepp2py adminsibative app ... testing jetzt:> >> schreiben ('buildout.cfg', ... "" "... ... Teile = test1. .. ... ... rezept = web2pyrecipe ... password = 123 ... pidfile = pid.txt ... appdir =% (dir) s ... default = web2py.app.chat .. . option2 =% (bar) s ... "" "% {'dir': 'web2pyApps', 'bar': 'value2'}) >>> mkdir ('web2pyapps') ... Download Beispiel App :: >>> System ('wget http://www.web2py.com/appliance/default/download/app.source.aa6d3615911c 89B6.7765623270792E6170702E636861742E7736861742E773270.w2p -o web2pyapps / web2py.app.chat.w2p -q ')' '' Ausführen des Buildouts gibt uns :: >>> Drucken 'Start', System (Buildout) Start ... Installieren von Test1. Nicht verwendete Optionen für Test1: 'Option2'. ... Überprüfen der Stammverzeichnis Struktur: :: >>> ls ('web2pyapps') - web2py.app.chat.w2pchecking Wenn web2py ordnungsgemäß extrahiert wird:> >> ls ('web2py') - Über - Lizenz - Makefile - NEWINSTALL - Readme - Version - __Init__. PY - App.YAML - Appengine_config.py D Anwendungen - CGIHandler.py - EPYDOC.CONF - EPYDOC.CSS - FCGIHandler.py - GAEHANDLER.PY D GLUON - modpythonhandler.py - Options_std.py - Queue.YAML - Routen.Example. py - routen.py d skripts - setup_app.py - setup_exe.py - web2py.py - wsgiHandler.pychecking Wenn die Test-App im Antragsverzeichnis von Web2py korrekt extrahiert wird:> >> LS (Join ('web2py', 'Applications' )) D ADMIN D Beispiele D web2py.app.chat D Welcome >>> Cat (Join ('web2py', 'routes.py')) default_application = 'web2py.app.chat' default_controller = 'Default' Default_Function = 'Index 'Prüfen Sie, ob das Skript zum Ausführen von t Er wird auf 'Bin' erstellt. ')) #! / Bin / Bash Python = Python Start () {$ {Python} web2py / web2py.py -a 123 -d pid.txt} stop () {töten `cat web2py / pid .txt`} Case "$ 1" im Start) Start ;; Halt halt;; Neustart) Start Stop ;; *) ECHO "Usage: web2py {Start | Stop | Restart}" EXIT 1 ;; ESAC-Austrittsanforderungen: · Python
web2pyrecipe. Zugehörige Software