Skip to content

ymd65536/flask_blog_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

want to application develop by Flask

SetUp

To build the environment necessary to create an application Execute the following command.

pip install pipenv
pipenv --version
pipenv --python 3.8
pipenv shell

What is Flask ?

Flask is a lightweight web application framework that can be written in Python. Flask is called Micro Framework

Flask's Features

  • You can create an application with a single file.

Why use Flask?

How to install

To install Flask, execute the following command.

pipenv install Flask

How to execute

git clone https://github.com/ymd65536/blog_app.git
cd blog_app
python server.py

Run Dynamodb Local

java "-Djava.library.path=./DynamoDBLocal_lib" -jar DynamoDBLocal.jar -sharedDb

test commands

$env:FLASK_ENV="development"
$env:FLASK_APP="hello.py"
flask run