This repository contains a pre-configured PhpStorm project which will help you get started and develop PrimeGames plugins.
- git installed and in your PATH
- PhpStorm installation with correctly configured git (after you install git, you need to make PhpStorm aware of it. Go to Settings -> Version Control -> Git and configure the "path to git executable" to wherever your git (or git.exe) is)
- Download a prebuilt binary from the PMMP Jenkins server or the PMMP Azure DevOps project. Choose the appropriate package for your OS.
- Extract the package somewhere (it doesn't matter where).
- Download this project.
- Open it with PhpStorm. You'll see that some things are already pre-configured for you.
- Go to Settings -> Languages and Frameworks -> PHP, select the "PHP Runtime" tab and add the path to the PHP binary you downloaded (<wherever you extracted>/bin/php7/bin/php on Unix or <wherever you extracted>/bin/php/php.exe on Windows).
- On the top right, you'll see a menu and a Play (Run) button. Select "Setup" in the menu and click Run. This will clone all of the PrimeGames plugin git repositories into the
plugins
directory of the project.
Several pre-configured run configurations are provided to make it as easy as possible for you to run whichever server type you need. In PhpStorm, choose any of the "Run" options and click the Run button to get started.