Skip to main content

VST Utils for fast create web-application

Project description

Small lib for easy generates web-applications.

Quickstart

  1. Install package: pip install vstutils

  2. Create package ‘prj’ with minimal __init__.py and __main__.py

  3. Paste to __init__.py:

    from vstutils.environment import prepare_environment, cmd_execution
    
    __version__ = '1.0.0'
    
    settings = {
        "VST_PROJECT": 'prj',
        "VST_ROOT_URLCONF": 'vstutils.urls',
        "VST_WSGI": 'vstutils.wsgi',
        "VST_PROJECT_GUI_NAME": "Example Project"
    }
    
    prepare_environment(**settings)
    
  4. Paste to __main__.py:

    rom vstutils.environment import cmd_execution, sys
    sys.path.append('./')
    import prj
    
    cmd_execution()
    
  5. Run python prj runserver 0.0.0.0:8081 –insecure

  6. Enjoy!

License

Apache Software License

Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for vstutils, version 1.1.2
Filename, size File type Python version Upload date Hashes
Filename, size vstutils-1.1.2.tar.gz (4.2 MB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page