IMPORTANT: This project is deprecated. Please go with next.js!
Install it (you'll need at least v6 of Node):
npm install -g cory
cory [options] [command]
Uninstall the package if it's already installed:
npm uninstall -g cory
Clone this repository:
git clonecd cory
Link it app to the global module directory:
Yeeha! 🐴 Now you can use the
gulp command within the repository to transpile the its sourcefiles and watch for changes. While the command is running, you're able to use the
cory command everywhere!
Run the following command to get a list of all available options and commands:
There are a few properties that can be changed by simply adding them to a
config.json file within your project. The JSON object below shows all available options and their default value:
"port": 4000 // See option "--port" (CLI option will overwrite this)"outputDir": "dist" // Path of the directory that will contain the generated site"sourceMaps": true // Enable/disable the generation of sourcemaps for assets"defaultLayout": "main" // The default template into which all pages will be wrapped"assetDir": "assets" // Default name of the folder that contains the assets