module
Version:
v0.0.0-...-8a92d6a
Opens a new window with list of versions in this module.
Published: May 9, 2019
License: MIT
Opens a new window with license information.
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.
- login db using
psql
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
¶
Click to show internal directories.
Click to hide internal directories.