MaxWilson / POCDungeonDraw

Proof of concept for dungeon generator (for Shining Sword). Design-time drawing and gametime exploration, WebRTC support.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

POCDungeonDraw

Public URL: https://dungeondraw.shiningsword.org/ or https://wonderful-mud-00aeae01e.2.azurestaticapps.net/

Proof of concept for dungeon generator (for Shining Sword). Design-time drawing and gametime exploration, WebRTC support.

dotnet tool restore
npm install
npm install -g @azure/static-web-apps-cli azure-functions-core-tools@4

To On three separate command lines, start Fable, the az function, and swa emulator which ties them both together. start npm start && start swa start http://localhost:3000 --api-location http://localhost:7071 && cd api && start func start --csharp

Alternatively you can run them all separately:

npm start
cd api && func start --csharp         
swa start http://localhost:3000 --api-location http://localhost:7071

REM (Yes, that --csharp is deliberate, and func will still load the .fsproj correctly.)

Then navigate to http://localhost:4280 to use the app. Both fable and swa support hot-reloading so everything should just work.

See https://github.com/aaronpowell/swa-feliz-template for more build and deployment instructions.

Whitespace errors

If you see superfluous ^Ms in git diff, do git config core.whitespace cr-at-eol

About

Proof of concept for dungeon generator (for Shining Sword). Design-time drawing and gametime exploration, WebRTC support.

License:MIT License


Languages

Language:F# 89.6%Language:Shell 6.5%Language:Dockerfile 2.1%Language:Sass 0.9%Language:HTML 0.5%Language:JavaScript 0.3%Language:Batchfile 0.2%