sageflow

module
v0.0.0-...-f2f1368 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2021 License: GPL-3.0

README

Sageflow Logo

SAGEFLOW

:warning: This project is experimental and in active development :warning:

SETTING UP PROJECT

git clone --recursive github.com/sageflow/sageflow

BUILDING BINARIES

  • GQLGen Build the custom gqlgen binary.

    go build cmd/gqlgen/gqlgen.go
    

    Add the binary to system path and run command in a directory with gqlgen.yml file.

    gqlgen
    

DATABASE

go run cmd/migrator/migrator.go -up
go run cmd/migrator/migrator.go -down
go run cmd/migrator/migrator.go -up-to 2
go run cmd/migrator/migrator.go -down-to 1
go run cmd/seeder/seeder.go -add-all
go run cmd/seeder/seeder.go -remove-all
go run cmd/seeder/seeder.go -add users
go run cmd/seeder/seeder.go -remove users

When you add a model, make sure to update the copy of its initial state in /migrations/1_initial_tables.go file

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL