Skip to content

ongraphpythondev/flask-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask Login, Logout and Sign Up Application

A Basic Flask Application to login, logout and sign up user.

Prerequisites:

You will need the following programmes properly installed on your computer.

To install virtual environment on your system use:

sudo apt-get install python3-venv -y

## Installation:

```bash
git clone https://github.com/ongraphpythondev/flask-app.git

cd flask-app

python3 -m venv venv

source venv/bin/activate

# install required packages for the project to run
pip install -r requirements.txt

Configure database setting

  • Open instance/config.py

  • SQLALCHEMY_DATABASE_URI = 'postgresql://postgres_user:postgres_password@localhost/postgres_db'

Running:

To run the development server after installation:

# run server
$ export FLASK_CONFIG=development
$ export FLASK_APP=run.py
$ flask db migrate
$ flask db upgrade
$ flask run

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published