GithubHelp home page GithubHelp logo

jeffbaier / example-python-flask Goto Github PK

View Code? Open in Web Editor NEW

This project forked from deis/example-python-flask

0.0 1.0 0.0 120 KB

Example Python application for Deis

Home Page: http://deis.io

License: Other

Python 100.00%

example-python-flask's Introduction

Python Quick Start Guide

This guide will walk you through deploying a Python application on Deis.

Usage

$ deis create
Creating application... done, created timely-darkroom
Git remote deis added
$ git push deis master
Counting objects: 80, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (44/44), done.
Writing objects: 100% (80/80), 18.60 KiB | 0 bytes/s, done.
Total 80 (delta 29), reused 80 (delta 29)
-----> Python app detected
-----> No runtime.txt provided; assuming python-2.7.6.
-----> Preparing Python runtime (python-2.7.6)
-----> Installing Setuptools (2.1)
-----> Installing Pip (1.5.4)
-----> Installing dependencies using Pip (1.5.4)
       Downloading/unpacking Flask==0.9 (from -r requirements.txt (line 1))
       Running setup.py (path:/tmp/pip_build_root/Flask/setup.py) egg_info for package Flask

       warning: no files found matching '*' under directory 'tests'
       no previously-included directories found matching 'docs/_build'
       no previously-included directories found matching 'docs/_themes/.git'
       Downloading/unpacking Jinja2==2.6 (from -r requirements.txt (line 2))
       Running setup.py (path:/tmp/pip_build_root/Jinja2/setup.py) egg_info for package Jinja2

       Downloading/unpacking gunicorn==0.17.2 (from -r requirements.txt (line 3))
       Running setup.py (path:/tmp/pip_build_root/gunicorn/setup.py) egg_info for package gunicorn

       Downloading/unpacking Werkzeug>=0.7 (from Flask==0.9->-r requirements.txt (line 1))
       Running setup.py (path:/tmp/pip_build_root/Werkzeug/setup.py) egg_info for package Werkzeug

       warning: no files found matching '*' under directory 'werkzeug/debug/templates'
       warning: no files found matching '*' under directory 'tests'
       no previously-included directories found matching 'docs/_build'
       Installing collected packages: Flask, Jinja2, gunicorn, Werkzeug
       Running setup.py install for Flask

       warning: no files found matching '*' under directory 'tests'
       no previously-included directories found matching 'docs/_build'
       no previously-included directories found matching 'docs/_themes/.git'
       Running setup.py install for Jinja2

       Running setup.py install for gunicorn

       Installing gunicorn_paster script to /app/.heroku/python/bin
       Installing gunicorn script to /app/.heroku/python/bin
       Installing gunicorn_django script to /app/.heroku/python/bin
       Running setup.py install for Werkzeug

       warning: no files found matching '*' under directory 'werkzeug/debug/templates'
       warning: no files found matching '*' under directory 'tests'
       no previously-included directories found matching 'docs/_build'
       Successfully installed Flask Jinja2 gunicorn Werkzeug
       Cleaning up...
-----> Discovering process types
       Procfile declares types -> web
-----> Compiled slug size is 31M
remote: -----> Building Docker image
remote: Uploading context 31.75 MB
remote: Uploading context
remote: Step 0 : FROM deis/slugrunner
remote:  ---> 5567a808891d
remote: Step 1 : RUN mkdir -p /app
remote:  ---> Using cache
remote:  ---> 4096b5c0b838
remote: Step 2 : ADD slug.tgz /app
remote:  ---> c2c3aa045300
remote: Removing intermediate container bc85fb8c3b74
remote: Step 3 : ENTRYPOINT ["/runner/init"]
remote:  ---> Running in c919bc22157f
remote:  ---> d5bd87f455c8
remote: Removing intermediate container c919bc22157f
remote: Successfully built d5bd87f455c8
remote: -----> Pushing image to private registry
remote:
remote:        Launching... done, v2
remote:
remote: -----> timely-darkroom deployed to Deis
remote:        http://timely-darkroom.local.deisapp.com
remote:
remote:        To learn more, use `deis help` or visit http://deis.io
remote:
To ssh://[email protected]:2222/timely-darkroom.git
 * [new branch]      master -> master
$ curl http://timely-darkroom.local.deisapp.com
Powered by Deis!

Additional Resources

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.