mirror of
https://github.com/whscullin/apple2js.git
synced 2024-01-12 14:14:38 +00:00
Update directions, dev server.
This commit is contained in:
parent
9f8fc8588a
commit
2bb9e040ec
40
README.md
40
README.md
@ -1,11 +1,41 @@
|
||||
apple2js
|
||||
========
|
||||
|
||||
An Apple II emulator written in Javascript
|
||||
An Apple II emulator written in Javascript.
|
||||
|
||||
Things are a little rought around the edges right now, hopefully I will have
|
||||
time to clean things up in a bit.
|
||||
Things are still a little rough around the edges right now, hopefully I will have more time to clean things up.
|
||||
|
||||
To run, open apple2js.html
|
||||
First
|
||||
|
||||
To add additional disk images, use scripts/dsk2json.pl, then "make index"
|
||||
```sh
|
||||
npm install
|
||||
```
|
||||
|
||||
To run a development server
|
||||
|
||||
```sh
|
||||
npm run dev
|
||||
```
|
||||
|
||||
The open either
|
||||
[http://localhost:8080/apple2js.html](http://localhost:8080/apple2js.html) or
|
||||
[http://localhost:8080/apple2jse.html](http://localhost:8080/apple2jse.html)
|
||||
|
||||
To build a static distribution into `dist`
|
||||
|
||||
```sh
|
||||
npm run build
|
||||
```
|
||||
|
||||
To add additional disk images, use
|
||||
|
||||
```sh
|
||||
./bin/dsk2json -c Category -n Name path/to/image.dsk > json/disks/
|
||||
image.json`
|
||||
```
|
||||
|
||||
then
|
||||
|
||||
```sh
|
||||
./bin/index`
|
||||
```
|
||||
|
@ -4,9 +4,9 @@
|
||||
"description": "Apple II Emulator in JavaScript",
|
||||
"scripts": {
|
||||
"build": "webpack --mode=production",
|
||||
"dev": "webpack-dev-server",
|
||||
"index": "scripts/index.pl > json/disks/index.js",
|
||||
"lint": "eslint js",
|
||||
"start": "webpack-dev-server"
|
||||
"lint": "eslint js"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -14,7 +14,7 @@ module.exports =
|
||||
},
|
||||
devServer: {
|
||||
compress: true,
|
||||
watchContentBase: true,
|
||||
writeToDisk: true
|
||||
publicPath: '/dist/',
|
||||
watchContentBase: true
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user