A Basic Flask Application to login, logout and sign up user.
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'
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