This repository contains the Wordpress theme and other assets for the new Zetkin Foundation website.
This repository uses wp-env
,
which requires Docker to work.
First install Docker (if you haven't already).
To install wp-env
in this project, just use npm:
npm install
Use the wp start
script to run the development environment:
npm run wp start
A URL was printed when you started the environment, usually http://localhost:8888 (port may vary). Go to that URL to verify that the site is running.
The first time you run it, the Zetkin theme will not have been activated. Append
/wp-admin to the URL above, and log in using username admin
and the password
password
. Go to Appearance > Themes to activate the "Zetkin Theme".
The wp
script is just a short hand for wp-env
, so it's also possible to run
other commands, e.g. npm run wp stop
or npm run wp help
.