GithubHelp home page GithubHelp logo

pawlodkowski / heroku_flask_template Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 2.0 23 KB

Starter code for getting your movie recommender app up on Heroku

Python 26.44% CSS 11.22% JavaScript 4.89% HTML 57.44%

heroku_flask_template's Introduction

Getting started with Flask and Heroku

Template for deploying a flask app to heroku. Created for the Spiced Data Science Bootcamp.

Original template created by Malte Bonart; this version of the template adapted by Paul Wlodkowski.

Requirements

  • free heroku account
  • heroku cli installed and set up locally

Instructions

  1. clone the repository
git clone https://github.com/pawlodkowski/heroku_flask_template.git
cd heroku_flask_template
  1. create a new heroku app
heroku create --region eu <my-app-name>
  1. test the app locally
heroku local web

on windows use

heroku local web -f Procfile.windows
  1. push code to heroku
git push heroku master
  1. open website in browser
heroku open
  1. to delete app
heroku apps:destroy <my-app-name>

Further Resources

  • Official Python Heroku Tutorial using Django
  • Deploying a Dash App (scroll down to the section on Heroku deployment, which is the free alternative to Dash Enterprise).
  • The Flask Mega-Tutorial: Deployment on Heroku
    • This is overall an excellent, well-written tutorial on all things Flask related. Miguel Grinberg gives you an extensive, step-by-step guide on building an entire social network / blog website from scratch using Flask + all its extensions. You learn a lot of Full Stack Web Development along the way.

heroku_flask_template's People

Contributors

pawlodkowski avatar

Stargazers

 avatar M. Murat Ardag avatar Pavel Romanenko avatar Lena Romanenko avatar

Watchers

 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.