- Git clone:
git clone [email protected]:imaginary-machines/pmsite-docs.git
- Install javascript dependencies
yarn
- Build JS/CSS
yarn build
- Start JS/CSS for development
yarn start
- Test changed files
yarn test --watch
- Test all files once
yarn test
yarn test --ci
A docker-compose-based local development environment is provided.
- Start server
docker-compose up -d
- Acess Site
- Run WP CLI command:
docker-compose run wpcli wp user create admin [email protected] --role=admin user_pass=pass