Skip to content

craigerskine/legendofmana.info

Repository files navigation

Live sites

Tech used

Instructions

  1. Install node.js on your computer
  2. Download this repository and extract to a folder where you want to store it locally
  3. Open a Terminal or Command prompt:
# change to the site folder
$ cd /path/to-folder/from-step-2

# install the site dependencies
$ npm install

# start a local hot version of the site
$ npm start
  1. Open http://localhost:8080 in your browser of choice
  2. Start editing the local files in your editor of choice and watch in amazement as your browser hot reloads your saved changes

All data, markup, components, layouts, scripts, files, and images are in the _site folder. The site will deploy locally to a public folder. Theoretically you could upload that folder to any web host since it's just static HTML.

Keep in mind that there are no CSS files anywhere to be found. This is intentional since I used Twind (which auto generates CSS on the client-side during browsing). Everything is styled using Tailwind CSS v3.0 syntax and kept organized via Twind grouping/one-offs.

Enjoy!