Skip to content

osumpi/bakecode

Repository files navigation

Bakecode

The bakecode ecosystem and service manager.

Docker Build Documentation Dart Build

Setup

Installation

Launch bakecode using docker's compose command.

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.

git clone https://github.com/osumpi/bakecode.git
cd bakecode
docker build . --tag bakecode:latest --file Dockerfile
docker compose up

Code generations

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:

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:

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.

git clone https://github.com/osumpi/bakecode.git
docker build bakecode --tag bakecode:dev --file Dockerfile.dev
dart pub global activate pubspec_extract
dart pub global run pubspec_extract -d lib/pubspec.g.dart