gitcrow

module
v0.0.0-...-8a92d6a Latest Latest
Warning

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

Go to latest
Published: May 9, 2019 License: MIT

README

gitcrow

Set up DB

Dependencies

Commands

  • make start-db: create and start
  • make stop-db: stop db container
  • make rm-db: remove db container and volume
Migration

TODO: migrate by script

At the first of migration, you must create database and schema on your db.

  1. login db using psql
  2. create database gitcrow;

migration using golang-migrate/migrate.

> migrate -database 'postgresql://{{Domain or IP}}:{{PORT}}/gitcrow?user={{USERNAME}}&password={{PASSWORD}}&sslmode=disable' -path ./migrations/ up

Directories

Path Synopsis
Package api_pb is a reverse proxy.
Package api_pb is a reverse proxy.
app
di
cmd
domain

Jump to

Keyboard shortcuts

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