andy0427s / Flask-personal-portfolio

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flask Personal Portfolio with blog

Installation

  • Python 3.5+ environment.

Quick Start Guide

  1. Clone this repository.
  2. Create a virtualenv and install all dependencies in requirement.txt.
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
  1. Change the URL for database configuration in the init.py
app.config['SQLALCHEMY_DATABASE_URI'] = 'Your database URI'

The database URI that should be used for the connection.

Examples:

sqlite:////tmp/test.db
mysql://username:password@server/db
  1. Set your MAIL_USERNAME and MAIL_PASSWORD to a valid Gmail account credentials (these will be used to send test emails) in init.py
  2. Cd to your project directory and run the flask using following command
$ flask --app wsgi run
  1. Go to http://localhost:5000/ and enjoy this application! Enjoy :)

About


Languages

Language:HTML 61.7%Language:Python 35.6%Language:CSS 2.7%Language:Procfile 0.0%