An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

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/*
```