Skip to main content
  1. blog/

Hello Website

·222 words·2 mins
Lektor Python Site
Dustin Wheeler
Author
Dustin Wheeler
Chemist, polymathist, usually lost
Table of Contents

The site
#

This site is meant to be a brain dump for the assorted projects and task I take on at Hunter College. I will likely end up being a collection of comments, tips and tricks for specific instruments, and rundowns of my experiences with instrumentation in various states of disrepair. Most of the content is meant to be an easy reference for myself, but hopefully someone else finds bits of it useful.

How it’s made
#

This site was designed using Lektor, a static site generator built in Python. The goals in doing this include those mentioned above (mostly helping me better document my work), learning some simple web design, and giving myself a simple software project to complete.

The steps to create the site are as follows:

  • Download and install Python (I use pyenv)
  • Create a virtual environment for the site using Mamba/Anaconda, pyenv-virtualenv, or venv (I use pyenv-virtualenv, just to keep some consistency, but venv might be easiest, as it’s built into modern versions of Python).
  • After activating the virtual environment, use run pip install lektor (or mamba/conda, if you went that route) to install the site generator.
  • You can create a blank site template quickly by running lektor quickstart and following the prompts. Just like that, you have an empty site. Time to fill it with knowledge!