imgram

command module
v0.0.0-...-368bca8 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2023 License: MIT Imports: 25 Imported by: 0

README

Imgram

Environment Variables

  • IMGRAM_DATA_DIR: directory used to store uploaded images.
  • IMGRAM_DSN: Database DSN used for connecting.

Local setup

Database setup
  • Create user:password (defaults to root:)
  • Create database (defaults to imgram)
Database migration
migrate -path=migrations -database="$DSN" up
Running
go run .

Building

go build -o imgram .

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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