curiousdannii / parchment

The Interactive Fiction web app
https://iplayif.com
MIT License
421 stars 60 forks source link

Provide instructions to build and run Parchment #78

Closed dfabulich closed 2 years ago

dfabulich commented 2 years ago

I substantially rebuilt this PR since much of it has become obsolete.

I've configured a prepare script to run the gulp build, which will ensure that we automatically run the gulp build during npm install.

In addition, the new http server script will launch a web server and watch the files for changes to automatically rebuild them. (I've renamed the serve script to start, so you can type npm start instead of npm run serve.)

Finally, with a fix for #80, we don't have to document how to use the ?story parameter to test Parchment; users can just submit local files for testing.