Sybren A. Stüvel 54933d0262 API: add Fetch Job endpoint
This is made with plain sqlite. It's probably a good idea to move to
something like GORM instead.
2022-01-11 18:38:14 +01:00
2022-01-11 18:38:14 +01:00
2022-01-11 18:38:14 +01:00
2022-01-11 18:07:34 +01:00
2022-01-11 18:07:34 +01:00
2022-01-11 18:07:34 +01:00
2022-01-10 17:45:13 +01:00
2022-01-10 17:45:13 +01:00
2022-01-11 18:07:34 +01:00

Flamenco PoC

This repository contains a proof of concept of a next-generation Flamenco implementation.

Building

  1. Install Go 1.17 or newer.
  2. Set the environment variable GOPATH to where you want Go to put its packages. Defaults to $HOME/go if not set. Run go env GOPATH if you're not sure.
  3. Ensure $GOPATH/bin is included in your $PATH environment variable.
  4. Run the following commands:
go install github.com/deepmap/oapi-codegen/cmd/oapi-codegen
make

You should now have two executables: flamenco-manager-poc and flamenco-worker-poc.

Swagger UI

Flamenco Manager has a SwaggerUI interface at http://localhost:8080/api/swagger-ui/

Flamenco Manager DB migrations

First install the migrate tool:

go install -tags sqlite github.com/golang-migrate/migrate/v4/cmd/migrate

To create a migration called create_users_table, run:

migrate create -dir internal/manager/persistence/migrations -ext sql -seq create_users_table

Migrations are automatically run when Flamenco Manager starts. To run them manually, use:

migrate -database sqlite://flamenco-manager.sqlite -path internal/manager/persistence/migrations up
Description
Flamenco render farm management system - Docker development environment fork
Readme GPL-3.0 88 MiB
Languages
JavaScript 55.1%
Go 32.7%
Vue 5%
Python 3.6%
HTML 1.8%
Other 1.7%