naclonts / personal-site

Home page with basic blog

Home Page:https://nathanclonts.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A simple page in a long-form-copy-ish layout.

Uses Django for templates, email handling, and "minimalistic" blog. Thanks to Rafael Caferati for the Awesome Button web component!

Setup

Create a file "./personal_site/secret_settings.py" defining:

# Database connection
DB_NAME = ''
DB_USER = ''
DB_PASSWORD = ''
DB_HOST = ''

# Email SMTP
EMAIL_HOST = ''
EMAIL_PORT = 587
EMAIL_HOST_USER = ''
EMAIL_HOST_PASSWORD = ''
EMAIL_USE_TLS = True

# Misc.
PERSONAL_EMAIL = 'email to send contact form messages to'
SECRET_KEY = 'a random key'

Install dependencies and make the database:

mkvirtualenv homepage # optional
pip install -r requirements.txt
python manage.py makemigrations
python manage.py migrate

Then start the server for development:

python manage.py runserver

The frontend files should be generated with:

webpack --watch --mode=development

About

Home page with basic blog

https://nathanclonts.com


Languages

Language:CSS 44.2%Language:JavaScript 22.3%Language:Python 18.3%Language:HTML 15.2%