- Git clone:
git clone git@github.com:antpb/atp-connect.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
- WP CLI
- Run any WP CLI command in container:
docker-compose run wpcli wp ...
- Setup site with WP CLI
docker-compose run wpcli wp core install --url=http://localhost:6014 --title="ATP Plugin" --admin_user=admin0 --admin_email=something@example.com
docker-compose run wpcli wp user create admin admin@example.com --role=administrator --user_pass=pass
- Run any WP CLI command in container: