Skip to content

Mickey-Zhaang/flask-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask Template Project

Author: Mickey Zhang

Purpose

This project serves as a Flask template designed and summarized from entrepreneurial software engineering course sequence (CS321-422) at Colby College. Thank you Prof. Al Madi for letting me into your sequence!

Quick Start

1. Use Template and Clone

# After creating a repo with this template, clone the repository locally
git clone <your-repo-url>
cd flask-template

# Setup virtual environment (venv)
python -m venv venv

source venv/Scripts/activate # Windows
# or
source venv/bin/activate # Mac

2. Environment Configuration

# Create environment file (or just manually rename .env.example to .env by right clicking)
cp .env.example .env

# ^^ very important, if you check .gitignore... Git will ignore any files specified
# Essentially anything you don't want the public seeing i.e. your OpenAI API key

3. Install Dependencies

# Install all dependencies
pip install -r requirements.txt

4. Run the Application

# Development server
python app.py

# Or with Flask CLI
flask run

Visit http://localhost:5000 to see your app!

Testing

# Run all tests
python test/run_tests.py

# Run linter
python test/run_lint.py

About

Basic Flask Application Template -- summary of the Software Engineering Course Sequence at Colby College

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors