Coder Social home page Coder Social logo

flask-pipenv-heroku-template's Introduction

flask-pipenv-heroku-template

Minimal template for a heroku-ready Python 3 pipenv-enabled Flask app.

The purpose is to quickly start simple Flask apps ready for heroku, without the repetive copy-pasting through the Flask Getting Started or the bloat of the Heroku's https://github.com/heroku/python-getting-started tutorial.

Using

Just clone into a new directory that you choose the name. Remove this .git stuff associated with this repo, start a new .git, create heroku app, and push.

$ git clone https://github.com/bcollazo/flask-pipenv-heroku-template myappname
$ cd myappname
$ rm -rf .git
$ git init .
$ heroku create myappnameinheroku
$ git push heroku master

Now you can develop quickly by using:

FLASK_ENV=development FLASK_APP=app.py flask run

Edit your index.html, index.css, index.js appropriately, commit, and push! :)

More info

This template was created by (and the repetitive tasks you skip are):

  1. pipenv install --three
  2. pipenv install Flask
  3. Copy pasting hello.py from Flask's Getting Started
  4. Adding Procfile with Gunicorn setup
  5. Following Flask's Getting Started to add a index.html template connected to a index.css and index.js CSS and JS files.

flask-pipenv-heroku-template's People

Contributors

bcollazo avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

dheninger

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.