We are currently using the
fractalbranch in the Framework Static Repo, but this may change
# 1. install dependencies
npm install
# 2. run gulp's default task
# - this will start a local server on port 3000
# - http://localhost:3000
npm run gulp # local
gulp # or globalAll scripts are available under the
scriptskey in thepackage.json
All commands can be run through npm per the following example:
npm run [command name]| Name | Description |
|---|---|
gulp |
will run the default gulp task;builds static assets + start the fractal web server |
build |
generates all static assets (scripts, styles, etc) and add to the dist/ folder |
fractal:build |
generates all static fractal files and adds them to the static-html/ folder |
github:build |
this is used for the Github Action; generates both static + fractal assets |