olach / getkirby.com

Source code and content for the Kirby website

Home Page:https://getkirby.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kirby Website

This repo contains the whole <getkirby.com> website.

Requirements

  • Local development server running PHP 7.1+ (e.g. Apache, nginx, MAMP)
  • Node.js 8+ + NPM

Installation and setup

Step 1: Clone the repo into an empty folder:

git clone git@github.com:bastianallgeier/v3.getkirby.com.git

Step 2: Install Dependencies

npm install

Step 3: Configuration

We are using Laravel Mix as our build tool, which also provides BrowserSync for an optimal developer experience. By default, it expects a copy of the site to run at http://getkirby.test. The document root of the site is the subfolder www/.

You can override the default domain if you prefer to run the site at a different domain. To do so, just copy config.default.js to a file named config.js. You can define a custom domain that new file.

Start the build tool for development

cd [root folder of this repo]
npm start

This will run BrowserSync and watch your CSS, JS and template files for changes.

Stop the server by pressing CRTL+C or by closing the CLI window.

Build for production

npm run build

About

Source code and content for the Kirby website

https://getkirby.com


Languages

Language:PHP 92.1%Language:CSS 6.2%Language:JavaScript 1.3%Language:Hack 0.4%