Find a file
2019-04-27 21:16:58 +02:00
app/config Add menu item for tickets 2019-04-27 21:16:58 +02:00
resources/css Add example sponsorship page 2019-04-09 14:08:53 +01:00
source Add menu item for tickets 2019-04-27 21:16:58 +02:00
.gitignore Replace custom utilities with Tailwind 2019-01-24 20:47:17 +00:00
composer.json Update Sculpin 2019-04-10 23:53:34 +01:00
composer.lock Update Sculpin 2019-04-10 23:53:34 +01:00
LICENSE init 2019-01-24 09:12:57 +00:00
netlify.toml Split build command onto multiple lines 2019-04-11 02:30:12 +01:00
package.json Fix interaction styles 2019-04-11 10:25:06 +01:00
README.md init 2019-01-24 09:12:57 +00:00
tailwind.config.js Fix interaction styles 2019-04-11 10:25:06 +01:00
webpack.mix.js Add browsersync 2019-04-02 10:06:37 +01:00
yarn.lock Fix interaction styles 2019-04-11 10:25:06 +01:00

Sculpin Skeleton

A skeleton project for the Sculpin static site generator.

Usage

  1. Download the project by running composer create-project opdavies/sculpin-skeleton --no-interaction --no-progress --prefer-dist my-sculpin-site.
  2. Run cd my-sculpin-site to change into the project directory, and composer run watch to generate and serve the site.
  3. Start adding content to source/index.md.
  4. Add more content, settings, layouts, includes etc as needed.

Scripts

This project includes some custom Composer scripts that you can use rather than running vendor/bin/sculpin directly, and that include some additional default options.

These are:

  • composer run generate and composer run dev - These generate the site in the development mode.
  • composer run watch - Generates and serves the site in development mode, watching for any changes.
  • composer run prod - Generates the site in production mode.

You can still pass additional options by separating the command and options with --. For example, running composer run watch -- --port=8002 would run the default watch command but also update the server port:

composer run watch -- --port=8002
> composer run generate -- --server --watch '--port=8002'
> sculpin generate --clean --no-interaction '--server' '--watch' '--port=8002'
Deleting /Users/opdavies/Code/Personal/sculpin-skeleton/output_dev
Detected new or updated files
Generating: 100% (1 sources / 0.00 seconds)
Converting: 100% (1 sources / 0.20 seconds)
Formatting: 100% (1 sources / 0.00 seconds)
Processing completed in 0.27 seconds
Starting Sculpin server for the dev environment with debug true
Development server is running at http://localhost:8002
Quit the server with CONTROL-C.

Notes

  • The posts content type is disabled by default. Re-enable it if needed by removing enabled: false from app/config/sculpin_kernel.yml.

License

MIT