Skip to content

Commit

Permalink
Add TypeScript and grunt info to published READMEs, see phetsims/chip…
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Dec 6, 2021
1 parent a48b8ea commit c8d63e0
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,22 @@ git clone https://github.com/phetsims/twixt.git
git clone https://github.com/phetsims/utterance-queue.git
git clone https://github.com/phetsims/vegas.git
```
(2) Start an http-server

(3) Open `http://localhost/area-model-decimals/area-model-decimals_en.html` (You will probably need to modify this URL based on your HTTP port and relative path.)
(2) Change directory to `chipper/`, and install dependencies by running `npm install`

(3) Still in directory `chipper/`, transpile the code to JavaScript by running `node js/scripts/transpile.js` (or add `--watch` to enable a file watching process)

(4) Start an http-server

(5) Open in the browser: `http://localhost/area-model-decimals/area-model-decimals_en.html` (You will probably need to modify this URL based on your HTTP port and relative path.)

#### Optional: Build the simulation into a single file

(1) Change directory to the simulation directory: `cd area-model-decimals`

(2) Build the sim: `grunt --brands=adapted-from-phet`

(3) Open in the browser: `http://localhost/area-model-decimals/build/adapted-from-phet/area-model-decimals_en_adapted-from-phet.html` (You will probably need to modify this URL based on your HTTP port and relative path.)

### Get Involved

Expand Down

0 comments on commit c8d63e0

Please sign in to comment.