alexbuijs / knock-knock

Knock Knock, a Cohousing Intranet Wordpress Theme

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Klopvaart Intranet

This repository contains the development environment and the WordPress theme for the Klopvaart Intranet.

Setup

Prerequisites

Download and setup Wordpress

  • Clone this repo git clone git@github.com:alexbuijs/knock-knock.git && cd knock-knock
  • Run cp env.example .env and fill in values. The default is a good starting point for local development
  • Run docker-compose up
  • Visit http://localhost:8080 for WordPress
  • Visit http://localhost:8081 for phpMyAdmin
  • Create pages: 'Home', 'Agenda', 'Bewoners', 'Documentatie', 'Bewoner', 'Profiel'
  • Set landing page: Instellingen -> Lezen -> Statische pagina -> Voorpagina: 'Home'
  • Refresh permalinks

Development

  • Run composer install && npm install
  • Run npm start. This runs Vite.

Build for production

  • Run npm run build

Wordpress CLI

docker compose run --rm wordpress-cli --path='web/wp' <cli command>

About

Knock Knock, a Cohousing Intranet Wordpress Theme


Languages

Language:PHP 48.8%Language:Twig 28.0%Language:JavaScript 16.0%Language:SCSS 7.1%Language:CSS 0.2%