View at virtualatoms.org
This repository contains the content and code for the Virtual Atoms website.
The site is generated using the hugo framework with javascript,
css, and image assets managed by webpack. The page contents can
be found in the content
directory and are stored as markdown files.
The website was designed and developed by Alex Ganose.
The website requires hugo and node.js to be installed. On macOS, this is simple if homebrew is installed. Just run
brew install hugo node
Webpack and additional plugins needed for building the website can be installed through
npm install
For development purposes, a local web server with automatic refresh is provided. This will run webpack to compile javascript, css, and image assets and then run hugo to build and serve the static site. The web server can be started through
npm start
When building the site for production, all assets will be minimised to reduce file size and improve loading times.
The website will be built to the public
folder. The production site can built using
npm run build