Nutmegin / Write-Side

writeside.surge.sh
0 stars 0 forks source link

Star Wars Invite - Built With Phaser

This is a Star Wars birthday invitation I created for my kid's 5th birthday. It uses the Phaser Game Engine and is written in ES6 using Babel and WebPack for the build process.

Local Setup

  1. Clone Repo
  2. npm install
  3. npm start (compiles code and runs the app on localhost:3000)
  4. Change the text and links to your liking

Deploying to Surge

You can optionally run the app on a live URL using surge.sh:

  1. Inside package.json, Change louis.surge.sh on line 9 to a URL of your choosing (must be a surge.sh subdomain)
  2. npm run yolo (Builds the files and uploads the files)

Note: You will need to install surge to acheive this. See http://surge.sh/ for more information.

Thanks

Thanks to @HenrickJorteg for https://github.com/henrikjoreteg/hjs-webpack which I adapted for the build and deploy script and @photonstorm for https://github.com/photonstorm/phaser