I’m really excited that you are interested in contributing to Motiforms. Before submitting your contribution though, please make sure to take a moment and read through the following guidelines.
git clone git@github.com:motivast/motiforms.git
cd motiforms
cp .env.example .env
composer install
During installation WordPress is downloaded to wordpress directory and current directory is self symlinked to wordpress/wp-content/plugins. Pointing your webserver vhost to wordpress directory give you fully working WordPress instance with Motiforms plugin installed.
./vendor/bin/phing wp:init
This command will install WordPress with configuration from .env file. After installation you should have fully working WordPress instance with Motiforms plugin activated.
./vendor/bin/phing tests:db:create tests:config
This command will create WordPress database for tests and create config file in wordpress-dev directory.
Be sure to execute code inspection and test before before making a pull request.
./vendor/bin/phing inspect tests