fles-commando

Voer je FLASK + Gunicorn-app uit als een commando
Download nu

fles-commando Rangschikking & Samenvatting

Advertentie

  • Rating:
  • Vergunning:
  • MIT/X Consortium Lic...
  • Prijs:
  • FREE
  • Naam uitgever:
  • Reuven V. Gonzales
  • Uitgever website:
  • https://github.com/ravenac95/

fles-commando Tags


fles-commando Beschrijving

Flask-commando is een eenvoudige Python-tool waarmee u uw kolftoepassing van de opdrachtregel kunt bellen na het verpakken via Gunicorn. Dit is handig als u een Console_Script-invoerpunt voor uw FLASK-applicatie wilt maken. Intended Gebruik Caset's aannemen dat uw project MyProject wordt genoemd. Een fles-app bestaat of is toegankelijk via myproject / __ init__.py. Het volgende laat zien hoe u FLASK-COMMAND gebruikt. In een bestand genaamd Myproject / Main.py: from FLASSCOMMAND import flask_commandfrom myproject import appmain = flask_command (app) in uw setup.py-bestand: Setup (naam = 'myproject', versie = '0.0.1', beschrijving = "Myproject - is geweldig", long_description = "myproject - is echt geweldig", trefwoorden = '', auteur = 'reuven v. gonzales', author_email='Reuven@tobetter.us ', PAKAGES = , inclusief_package_data = TRUE, ZIP_SAFE = FALSE, INSTALL_REQUIRES = , entry_points = {'console_scripts': }, classifiers = ,) Nu, na het installeren van uw project kunt u uw fles-server zoals deze starten: MyProject-Web -B 127.0.0.1:8000-W 4 SOME_CONFIG_PATHAT Deze keer specificeert een pad naar Een configuratiebestand is vereist, maar dit zal waarschijnlijk niet zo zijn in de toekomst .PRODUCT-startpagina


fles-commando Gerelateerde software

quipu

Evalueer eenvoudige python MathMatical en logische uitdrukkingen http://en.wikipedia.org/wiki/quipu ...

85

Downloaden