Quickly start a new application
- Install git, node, and jekyll
- Run
git clone git@github.com:unsetbit/starter.git && cd starter && npm install
- Run
npm run dev
. This command starts the build system and starts serving the contents of thedocs/_site
directory at http://localhost:8080. - Modify the contents of
src
anddocs
until the app looks just right
Whatever is exported from src/starter.js
will be available as a global
variable called starter
.
Run npm run prepublish
prior to publishing your work, this will update the
starter.js
file in docs
. This allows you to easily host your application via
GitHub pages.
Update webpack.config.js
once you're ready to rename your project to
something other that "starter".