this is a website! see it live at ahhsumx.com
this is the source code for ahhsumx.com, which is built via a build script. it's a very simple site, and this is a very efficient way to serve it, albeit non-traditional.
directory explanation:
- README: this file
- build/: this directory is generated by the build command - *.html|css|js: files for webserver
- build.js: the main build file
- node_modules/: these contain the modules managed by yarn
- package.json: scripts and package info
- src/: the files used by the build script to generate build/* - *.pug: view templates
- webpack.config.js: our config file for webpack
- yarn.lock: standard lock file for yarn
- check out branch
yarn
yarn build
- open
src/index.html
in a browser
yarn build_prod
- upload
build
directory to webserver