This repo contains the source code for building content for philidem.com. The build produces static content that can be published via any static file server.
- Install Node.js 4.2+
- Clone repo and change to repo directory
- Run
npm install
To launch server that watches for file changes and refreshes automatically:
./run-server.sh
To launch server that does not watch for file changes:
node server.js
Open your web browser to http://localhost:8888/
To run production build:
./run-build.sh --production true --url-prefix http://philidem.github.io/
Alternative for non-Unix-like environments:
node build.js --production true --url-prefix http://philidem.github.io/
To deploy production build:
Copy contents of dist
directory to storage location associated
with http://philidem.github.io/
.