Skip to content

samskeller/my_site

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Personal website powered by Django

This is a personal website I built for myself that's powered by Django. Certainly you could do a lot of this without a full-fledged web framework like Django, but where's the fun in that?

Running locally

This project requires Python 3.6 or above and PostgreSQL

  1. Register for an API Key from Google Books
  2. Create a virtual environment with the right Python 3.6+ version: virtualenv --python <path_to_python> venv
  3. Run pip install -r my_site/project_requirements.txt
  4. Create an __init__.py in the my_site/settings/ directory and fill out like so:
from .local_dev import *

SECRET_KEY = <some_random_and_long_string>

DATABASES['default']['PASSWORD'] = <your_database_password>

GOOGLE_BOOKS_API_KEY = <your_google_books_api_key>
  1. Run the migrations: python manage.py migrate
  2. Run the application: python manage.py runserver
  3. Access the application at http://localhost:8000

About

A basic Django app for creating a personal website!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published