https://github.com/tonychouteau/treasure_island
Treasure_Island
https://github.com/tonychouteau/treasure_island
python typescript webpack websocket
Last synced: 2 months ago
JSON representation
Treasure_Island
- Host: GitHub
- URL: https://github.com/tonychouteau/treasure_island
- Owner: TonyChouteau
- Created: 2022-04-14T17:21:06.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-03-09T17:42:03.000Z (over 2 years ago)
- Last Synced: 2025-03-26T15:19:28.709Z (over 1 year ago)
- Topics: python, typescript, webpack, websocket
- Language: Python
- Homepage:
- Size: 24.7 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Treasure_Island
Treasure_Island
## Coding guidelines
- Follow the [PEP8 conventions](https://peps.python.org/pep-0008/)
- Try to avoid multiple inheritance entirely.
- Comment not obvious code sections.
## Installation
___
### NodeJS
```npm install```
### Python >=3.6
```pip install websockets opencv-python numpy```
## Development
___
### Map processing
//
### Make jquery d.ts files for typescript (Don't do this again)
```npm install typings``` \
```.\node_modules\.bin\typings install dt~jquery --global --save```
### Compile front-end app from typescript
One last thing is to add a file "websocket_url.ts" in the "src" folder with the content : \
```export default "ws://localhost:8001/"```
```npm run dev```
## Run
___
### Websocket
```python3 ./run.py```