https://github.com/grena/ldjam46
https://github.com/grena/ldjam46
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/grena/ldjam46
- Owner: grena
- Created: 2020-04-18T10:48:06.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T17:18:22.000Z (over 3 years ago)
- Last Synced: 2025-03-26T08:24:26.641Z (about 1 year ago)
- Language: TypeScript
- Size: 6.91 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Installation
Download the Internet:
```
docker-compose run --rm app npm install
```
# Development
Watch your code in real time:
```
docker-compose run --rm --service-ports app npm run watch
```
You can define your own port with
```
SERVER_PORT=8090 docker-compose run --rm --service-ports app npm run watch
```
# Build (production)
First build your app:
```
docker-compose run --rm -u $(id -u ${USER}):$(id -g ${USER}) app npm run build
```
Generated code will be in `dist` folder.
To test it locally, you can run a server locally with:
```
docker-compose run --rm --service-ports app npm run start
```
# Utils
```
convert /tmp/0*.png +append -remap src/assets/images/pico8-custom-palette.png src/assets/images/car2.png
```