- Make a directory somewhere in your file system where you want to keep your project.
cd
into that directory from the command line.- Clone this project using
git clone https://github.com/jagltoro/phaser-webpack-starter.git
. - Install dependencies using
npm install
. - Run the project using
npm start
.
Since this project uses webpack, this automatically will refresh anytime you save the code
From the project's directory, run npm run build
.
This will create a build
directory with your files minified and uglyfied, everything needed to use the game in any web server