- Run in the console:
git clone https://github.com/YaaS/docpad-skeleton-apidocs.git
- Open cloned project:
cd docpad-skeleton-apidocs
- Call the following commands:
npm run prepare
npm run init
-> to load currently integrated sample datanpm run start
If you called npm run prepare
at least once, it means all the dependencies you needed got installed. Now you can just start generation and server with the following command: npm run start
.
To trigger generation with production configuration:
- Call the following commands:
npm run init
andnpm run compile
- Notice new out folder. This folder contains all generated files and can be used on production. For example, you can copy the content of out folder to your GitHub Pages repository.