Skip to content

Latest commit

 

History

History
54 lines (34 loc) · 1.23 KB

README.md

File metadata and controls

54 lines (34 loc) · 1.23 KB

espp-payoff

espp-payoff is a Django + vanilla async Javascript calculator to help public-company employees understand their Employee Stock Purhcase Plan (ESPP) value. It is hosted at esppvalue.com.

Getting Started

Requirements: Python 3

Getting set up locally is simple. Once you've cloned the project:

  1. Run pip install requirements.txt
  2. Set up a local_settings.py file and drop it in the root folder where the settings.py file lives
  3. If you want to be able to pull in stock data, you'll need to sign up for a polygon.io account
# local_settings.py

import os
from pathlib import Path

BASE_DIR = Path(__file__).resolve().parent.parent

POLYGON_API_KEY = [KEY_HERE]

SECRET_KEY = [KEY_HERE]

DEBUG = True

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': BASE_DIR / 'db.sqlite3',
    }
}
  1. Run python3 manage.py migrate

Built With

Author

Garrett Edel LinkedIn

License

MIT License