git clone https://github.com/asleepysamurai/ass-com.git yass-sample cd yass-sample yarn install
To Build Templates From ./src
NODE_ENV=production gulp --production
This will also attempt to copy an nginx config file to your sites-enabled directory. Delete the rewriteNginxConfigPath task from gulpfile.js if you don't want this.
Once this command runs, a new directory
templates will be made available.
To build the static site
Install Yass-Gen if you haven't already.
npm install -g yass-gen
cd yass-sample yass-gen --in ./ --out ./public
This will create a directory
public which will contain all the static files and can be served directly.