Giter Club home page Giter Club logo

flask-framework's Introduction

Flask on Render.com

This project is intended to help you tie together some important concepts and technologies from the 12-day course, including Git, Flask, JSON, Pandas, Requests, and Altair for visualization. We are hosting our version of this website on Render.com.

There are two branches on this repository. The master branch is a simple Flask application to show a static websitpe. The finished example is available online that demonstrates this basic website.

The repository contains a basic template for a Flask configuration that will work on Render.com.

The other branch (api-altair)is a skeletal framework that we ask students to fill in during the 12-Day Program.

Setup and deploy

  • Git clone the existing template repository.
  • requirements.txt contains some necessary libraries.
  • There is some boilerplate HTML code in templates/.
  • Create the Render.com application through the main dashboard (you want a new "Web Service").
  • We know that this will run in Python version 3.9.0. Specify the Python version on Render by adding an environmental variable called PYTHON_VERSION with a value of 3.9.0.
  • Once deployed, use the web link provided on the Dahsboard to view the website online.
  • A useful reference for deploying is the Render.com quickstart guide.

Further references for Flask

flask-framework's People

Contributors

anahocevar avatar craw-daddy avatar gotoariel avatar rschroll avatar xofbd avatar zachglassman 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  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  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  avatar  avatar  avatar

flask-framework's Issues

Code does not compile in Heroku

I tried it without condo and it said that it didn't support that version of Python. Then I tried it with Conda and now I'm getting:

Preparing Python/Miniconda Environment
/tmp/codon/tmp/buildpacks/[censored possible key]/bin/steps/conda_compile: line 7: conda: command not found
! Push rejected, failed to compile Python/Conda app.
! Push failed

Still trouble shooting the issue, but this code base is definitely not for beginners, since it is broken.

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.