GithubHelp home page GithubHelp logo

capstone-flask-app-template-seattle-ds-080519's Introduction

Capstone Flask App Template

Requirements

This repo uses Python 3.6.0. All python packages can be found in the requirements.txt file. The requirements are in pip style, because this is supported by Heroku.

To create a new conda environment to use this repo, run:

conda create --name flask-env
conda activate flask-env
pip install -r requirements.txt

You will likely need to install additional packages to support your deployment. With the flask-env activated, you can run conda install <package-name>. Once you are ready to deploy, you can generate your own requirements.txt for reproducibility purposes with:

pip freeze > requirements.txt

Running the Flask Application

To run in a development environment (on your local computer)

export FLASK_ENV=development
env FLASK_APP=app.py flask run

To run in a production environment (used for deployment, but test it out locally first):

export FLASK_ENV=production
python app.py

capstone-flask-app-template-seattle-ds-080519's People

Contributors

hoffm386 avatar

Watchers

James Cloos avatar  avatar Mohawk Greene avatar Victoria Thevenot avatar Bernard Mordan avatar Otha avatar raza jafri avatar  avatar Joe Cardarelli avatar The Learn Team avatar Sophie DeBenedetto avatar  avatar  avatar Jennifer Pazos avatar Matt avatar Antoin avatar  avatar Alex Griffith avatar  avatar Amanda D'Avria avatar  avatar Ahmed avatar Nicole Kroese  avatar Kaeland Chatman avatar Lisa Jiang avatar Vicki Aubin avatar Maxwell Benton 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.