gobjob

module
v0.0.0-...-18cd5fc Latest Latest
Warning

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

Go to latest
Published: May 8, 2021 License: MIT

README

GObjob

Assume everything

or root directory

Setup

Creating the config

Create a copy of config.example.hcl named config.hcl

$ cp config.example.hcl config.hcl

Then change the variables to whats needed

Run app locally

  • TODO: Once docker-compose is working for local development / testing, put command here

Run backend (must have built frontend locally, see frontend/README.md)

cd backend
go run main.go
Deploying to Prod

We currently deploy through CI only. This is triggered by merging a PR into the prod branch.

Graphql

On dev mode you can GET at /graphql to get graphql playground

Architecture

This can be read at ARCHITECTURE.md

Migrate

Migrate db
cd backend
go run main.go --migrate
Migrate and serve db
cd backend
go run main.go --migrate-serve
Nuke and recreate db
cd backend
go run main.go --nuke

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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