Git Product home page Git Product logo

example-python-django's Introduction

Python Quick Start Guide

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

Usage

$ git clone https://github.com/deis/example-python-django.git
$ cd example-python-django
$ deis create
Creating Application... done, created italic-rucksack
Git remote deis added
remote available at ssh://[email protected]:2222/italic-rucksack.git
$ git push deis master
Counting objects: 75, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (46/46), done.
Writing objects: 100% (75/75), 12.01 KiB | 0 bytes/s, done.
Total 75 (delta 31), reused 53 (delta 21)
Starting build... but first, coffee!
-----> Python app detected
-----> Installing python-3.5.2
       $ pip install -r requirements.txt
       Collecting Django==1.10.0 (from -r requirements.txt (line 1))
       Downloading Django-1.10-py2.py3-none-any.whl (6.8MB)
       Collecting gunicorn==19.6.0 (from -r requirements.txt (line 2))
       Downloading gunicorn-19.6.0-py2.py3-none-any.whl (114kB)
       Installing collected packages: Django, gunicorn
       Successfully installed Django-1.10.0 gunicorn-19.6.0

       $ python manage.py collectstatic --noinput
       56 static files copied to '/app/staticfiles'.

-----> Discovering process types
       Procfile declares types -> web
-----> Compiled slug size is 61M
Build complete.
Launching App...
Done, italic-rucksack:v2 deployed to Workflow

Use 'deis open' to view this application in your browser

To learn more, use 'deis help' or visit https://deis.com/

To ssh://[email protected]:2222/italic-rucksack.git
 * [new branch]      master -> master
$ curl http://italic-rucksack.deis.rocks
Powered by Deis
Release v2 on italic-rucksack-web-1653109058-vjlh0

Additional Resources

example-python-django's People

Contributors

carmstrong avatar joshua-anderson avatar mboersma avatar stuart-warren avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

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.