socialnetwork

module
v1.0.0-rc.5 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2020 License: Apache-2.0

README

Run database

docker-compose up

Run migrations

./socialnetwork migrate up --config config.yml

Migrate down

./socialnetwork migrate down --limit=1 --config config.yml

Status of migrations

./socialnetwork migrate status --config config.yml

Serve

./socialnetwork --config config.yml

Run redis

docker run -p '6379:6379' --name socialnetwork-redis -d redis  redis-server --appendonly yes

Debug server

curl -sf https://gobinaries.com/github.com/go-delve/delve/cmd/dlv | sh
ps aux | grep main
/usr/local/bin/dlv --listen=:10080 --headless=true --api-version=2 --accept-multiclient attach 1

Directories

Path Synopsis
cmd
You can use the "packr clean" command to clean up this, and any other packr generated files.
You can use the "packr clean" command to clean up this, and any other packr generated files.
packrd
You can use the "packr2 clean" command to clean up this, and any other packr generated files.
You can use the "packr2 clean" command to clean up this, and any other packr generated files.
You can use the "packr clean" command to clean up this, and any other packr generated files.
You can use the "packr clean" command to clean up this, and any other packr generated files.
packrd
You can use the "packr2 clean" command to clean up this, and any other packr generated files.
You can use the "packr2 clean" command to clean up this, and any other packr generated files.
pkg

Jump to

Keyboard shortcuts

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