bakecode
所属分类:机器人/智能制造
开发工具:Dart
文件大小:0KB
下载次数:0
上传日期:2021-11-13 13:34:36
上 传 者:
sh-1993
说明: 烘焙代码生态系统和服务管理器。,
(The bakecode ecosystem and service manager.,)
文件列表:
.devcontainer/ (0, 2021-11-05)
.devcontainer/devcontainer.json (1792, 2021-11-05)
Dockerfile (426, 2021-11-05)
Dockerfile.dev (382, 2021-11-05)
LICENSE (18092, 2021-11-05)
analysis_options.yaml (346, 2021-11-05)
bin/ (0, 2021-11-05)
bin/bakecode.dart (1281, 2021-11-05)
config/ (0, 2021-11-05)
config/ecosystem.json (409, 2021-11-05)
config/engine.yaml (232, 2021-11-05)
doc/ (0, 2021-11-05)
doc/api/ (0, 2021-11-05)
doc/api/__404error.html (3463, 2021-11-05)
doc/api/bakecode.engine/ (0, 2021-11-05)
doc/api/bakecode.engine/BakecodeEngine-class.html (20532, 2021-11-05)
doc/api/bakecode.engine/BakecodeEngine/ (0, 2021-11-05)
doc/api/bakecode.engine/BakecodeEngine/BakecodeEngine.createInstance.html (7093, 2021-11-05)
doc/api/bakecode.engine/BakecodeEngine/address.html (7045, 2021-11-05)
doc/api/bakecode.engine/BakecodeEngine/config.html (6931, 2021-11-05)
doc/api/bakecode.engine/BakecodeEngine/configFile.html (6997, 2021-11-05)
doc/api/bakecode.engine/BakecodeEngine/connectionState.html (7148, 2021-11-05)
doc/api/bakecode.engine/BakecodeEngine/description.html (7147, 2021-11-05)
doc/api/bakecode.engine/BakecodeEngine/ecosystem.html (6983, 2021-11-05)
doc/api/bakecode.engine/BakecodeEngine/id.html (7076, 2021-11-05)
doc/api/bakecode.engine/BakecodeEngine/initState.html (7402, 2021-11-05)
doc/api/bakecode.engine/BakecodeEngine/initialize.html (7540, 2021-11-05)
doc/api/bakecode.engine/BakecodeEngine/instance.html (7005, 2021-11-05)
doc/api/bakecode.engine/BakecodeEngine/isActive.html (7081, 2021-11-05)
doc/api/bakecode.engine/BakecodeEngine/isSingleton.html (7139, 2021-11-05)
doc/api/bakecode.engine/BakecodeEngine/name.html (7084, 2021-11-05)
doc/api/bakecode.engine/BakecodeEngine/onMessageReceived.html (7499, 2021-11-05)
doc/api/bakecode.engine/BakecodeEngine/outboxController.html (7574, 2021-11-05)
... ...
# Bakecode
The bakecode ecosystem and service manager.
[![Docker Build](https://github.com/osumpi/bakecode/actions/workflows/docker-publish.yaml/badge.svg)](https://github.com/osumpi/bakecode/actions/workflows/docker-publish.yaml)
[![Documentation](https://github.com/osumpi/bakecode/actions/workflows/generate_docs.yaml/badge.svg)](https://github.com/osumpi/bakecode/actions/workflows/generate_docs.yaml)
[![Dart Build](https://github.com/osumpi/bakecode/actions/workflows/dart.yaml/badge.svg)](https://github.com/osumpi/bakecode/actions/workflows/dart.yaml)
## Setup
## Installation
Launch `bakecode` using docker's `compose` command.
```bash
mkdir bakecode
cd bakecode
wget https://raw.githubusercontent.com/osumpi/bakecode/main/docker-compose.yaml
docker compose up
```
### Local Docker setup
Bakecode requires `git`, `docker` and `dart` to be installed in the system.
```bash
git clone https://github.com/osumpi/bakecode.git
cd bakecode
docker build . --tag bakecode:latest --file Dockerfile
docker compose up
```
### Code generations
```sh
dart pub global activate pubspec_extract
dart pub global run pubspec_extract -d lib/pubspec.g.dart
```
### Configuration file
To specify the location of the configuration file to be used by `bakecode launch`:
```sh
bakecode --config /path/to/bakecode.bsi.yaml
# or
bakecode -c /path/to/bakecode.bsi.yaml
```
#### Default configuration file
The default configuration file is located at: `/etc/bakecode/bakecode.bsi.yaml` and has the following contents:
```yaml
name: BakeCode Engine
description: Boss of the ecosystem.
id: e34bfd23-3a2d-496d-991f-fb6dcde954dc
location: ""
singleton: true
server: xtensablade.ddns.net
port: 8080
protocol: websocket
username: ""
password: ""
```
## Contributing
Launch your code editor of choice inside `bakecode:dev`. This is bakecode's
official development image.
```bash
git clone https://github.com/osumpi/bakecode.git
docker build bakecode --tag bakecode:dev --file Dockerfile.dev
```
```sh
dart pub global activate pubspec_extract
dart pub global run pubspec_extract -d lib/pubspec.g.dart
```
近期下载者:
相关文件:
收藏者: