Ensure you have the following dependencies installed in your developer environment:
- Ruby (2.2.5)
- Node (6.11.3)
- Npm (3.10.10)
Set an environment variable for the Dev Center forms handler URL, which will typically be on localhost:3000.
export DEVCENTER_API_FORMS=http://localhost:3000
- Install bundler (
gem install bundler) bundle installto install Ruby dependenciesnpm installto install Node dependenciesnpm startto run the development server. This command will ensure the following happens before starting the server.- Ruby gems are up-to-date.
- Build Jekyll and Webpack assets.
bundle exec jekyll serve --watch --incrementalto run the development server- Navigate to http://localhost:4000 to view the site.
npm testto run tests for app creation.npm run test:watchto run tests in watch mode.
npm run buildto build all static files (Jekyll + Webpack)npm run build:webpackto only build Webpack assetsruby check_links.rbto run link checker