Skip to content

Commit

Permalink
add more instructions and links
Browse files Browse the repository at this point in the history
  • Loading branch information
sebnozzi committed Feb 17, 2024
1 parent ed270d9 commit 46e4460
Showing 1 changed file with 29 additions and 2 deletions.
31 changes: 29 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,33 @@ And if you put it in a sub-folder it would read:
<body data-src-file="src/myProgram.ms">
```

You can then serve the contents locally (e.g. with `python3 -m http.server 8080`) or zip them and upload somewhere (e.g. to itch.io).
You can then serve the contents locally (e.g. with `python3 -m http.server 8000`) or zip them and upload somewhere (e.g. to itch.io).

Feel free to explore and/or remove the [example folder](./example) before publishing.
Feel free to explore the [example folder](./example) folder. You might want to remove it before publishing.

## Building from source

To build from source make sure you have [Node.js](https://nodejs.org) installed.

Then from the project's root folder:

```
npm install
npm run build
```

Once build you can serve the contents locally.

## Serve locally

To serve locally, your could use Python's built-in web-server:

```
python3 -m http.server 8000
```

Alternatively you could consider either of these:

* https://www.npmjs.com/package/local-web-server
* https://www.npmjs.com/package/http-server
* https://caddyserver.com/

0 comments on commit 46e4460

Please sign in to comment.