https://github.com/caiiiycuk/js-dos
The best API for running dos programs in browser
https://github.com/caiiiycuk/js-dos
browser dos dosbox js
Last synced: 3 months ago
JSON representation
The best API for running dos programs in browser
- Host: GitHub
- URL: https://github.com/caiiiycuk/js-dos
- Owner: caiiiycuk
- Created: 2014-12-28T12:22:27.000Z (over 11 years ago)
- Default Branch: 8.xx
- Last Pushed: 2025-12-14T13:59:43.000Z (6 months ago)
- Last Synced: 2025-12-16T20:42:38.726Z (6 months ago)
- Topics: browser, dos, dosbox, js
- Language: TypeScript
- Homepage: https://js-dos.com
- Size: 195 MB
- Stars: 1,221
- Watchers: 27
- Forks: 167
- Open Issues: 61
-
Metadata Files:
- Readme: README.deployment.md
- Changelog: ChangeLog.md
Awesome Lists containing this project
- ru-awesome-opensource - github
README
# Deployment
## Move latest version to named version
```sh
VERSION=
mkdir /tmp/$VERSION
aws s3 --endpoint-url=https://storage.yandexcloud.net sync s3://jsdos/latest /tmp/$VERSION
aws s3 --endpoint-url=https://storage.yandexcloud.net sync --acl public-read /tmp/$VERSION s3://jsdos/8.xx/$VERSION
rm -rf /tmp/$VERSION
```
## Release version
```
rm -rf dist && \
yarn run vite build --base /latest --sourcemap true --minify terser && \
aws s3 --endpoint-url=https://storage.yandexcloud.net sync --acl public-read \
dist s3://jsdos/latest --delete
```
Clear the CDN cache (v8.js-dos.com) in dashboard, pattern:
```
/latest,/latest/*
```
## DOS.Zone (early access) version
### Move latest version to named version
```sh
VERSION=
mkdir /tmp/$VERSION
aws s3 --endpoint-url=https://storage.yandexcloud.net sync s3://br-bundles/js-dos/latest /tmp/$VERSION
aws s3 --endpoint-url=https://storage.yandexcloud.net sync --acl public-read /tmp/$VERSION s3://br-bundles/js-dos/8.xx/$VERSION
rm -rf /tmp/$VERSION
```
### Deploy new one
```
rm -rf dist && \
yarn run vite build --base /js-dos/latest --sourcemap true --minify terser && \
rm dist/emulators/sockdrive* && \
python scripts/brotli-dist.py && \
aws s3 --endpoint-url=https://storage.yandexcloud.net sync --acl public-read \
dist s3://br-bundles/js-dos/latest --delete
```
Clear the CDN cache (br.cdn.js-dos.com) in dashboard, pattern:
```
/js-dos/latest,/js-dos/latest/*
```
### Deploy nigthly
```
rm -rf dist && \
yarn run vite build --base /js-dos/nightly --sourcemap true --minify terser && \
rm dist/emulators/sockdrive* && \
python scripts/brotli-dist.py && \
aws s3 --endpoint-url=https://storage.yandexcloud.net sync --acl public-read \
dist s3://br-bundles/js-dos/nightly --delete
```
Clear the CDN cache (br.cdn.js-dos.com) in dashboard, pattern:
```
/js-dos/nightly,/js-dos/nightly/*
```