Flask-Portfolio

About the Project

Portfolio website created in Flask.

--------------------------------------------

Primary database is MySQL but easily adaptible to POSTGRESQL or SQlite [details to come]

Getting Started

  1. Fork / clone the project.
  2. Create an environment file .env file with your projects secret keys
  • DB_HOST = localhost
  • DB_USER = ' '
  • DB_PASS = ' '
  • DB_NAME = ' '
  • DB_PORT = ' '
  • DB_PASSWORD = ' '
  • DB_USER = ' '
  • ADMIN_ROOT = ' '
  • ADMIN_PW = ' '
  • ADMIN_DB = ' '
  • MAP_BOX_KEY = ' '
  • SQLALCHEMY_DATABASE_URI = ' '
  • SQLALCHEMY_BINDS = ' '
  • SECRET_KEY = ' '
  • WTF_CSRF_SECRET_KEY = ' '
  • HCAPTCHA_SITE_KEY = ' '
  • HCAPTCHA_SECRET_KEY = ' '
  • CONTACT_MAIL = ' '
  • FLASK_DEBUG = ' '
  • FLASK_ENV = ' '
  • JOB_IMAGES = ' '
  • UPLOAD_FOLDER = ' '
  • BLOG_IMAGES = ' '
  • CLIENT_IMAGES = ' '
  1. Install venv - sudo apt install python3-venv
  2. Choose some directory and run this command python3 -m venv venv
  3. Activate the venv source venv/bin/activate
  4. Install dependencies: pip3 install -r requirements.txt
  5. Visit http://localhost:5000/