Giter Site home page Giter Site logo

cmu-ms-das-vis-flask's Introduction

@CMU-MS-DAS-Vis-Mini Spring 2022 CMU-MS-DAS-Vis-Flask

CMU MS-DAS Visualization Class course Flask lab

Quick Start

This repo is meant to provide a simple Flask environment for class experiments. These instructions assume conda is already installed. To set things up:

  1. Clone this repo to your local machine.
  2. cd into the repo you've just cloned.
  3. Create the virtual environment, as follows: On Linux or macOS do:
$ conda create --name FlaskEnv python=3.8
$ conda activate FlaskEnv
$ pip install -r requirements.txt

On Windows do:

>conda create -n FlaskEnv python=3.8 anaconda
>activate FlaskEnv
>pip install -r requirements.txt
  1. Start up the server: On Linux or macOS do:
$ bash init_db.sh
$ bash run_app.sh

On Windows do:

>set FLASK_APP=myproj
>set FLASK_ENV=development
>flask init-db
>flask run
  1. The Flask server should now be running in the window where you issued the run-app command. Connect to the server from a web browser. The URL should be visible in the window, but it is probably http://127.0.0.1:5000/

cmu-ms-das-vis-flask's People

Contributors

jswelling 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.