uuid

command module
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

README

uuid

Defacto2 manager of UUID named files

Go Report Card Build Status

Created in Go, to build from source.

Clone this repository.

git clone https://github.com/Defacto2/uuid.git

Edit the build.sh shell script to supply build time variables, save then run.

nano build.sh
#!/bin/sh
#
# Build time variables for the database connector configuration
#
# Database name
DB_NAME=defacto2-inno
# Database login username
DB_USER=root
# Path to a text file containing the database login user password
PW_PATH=/path/to/password
# Database login fallback password when text file is not found [should normally be left blank]
DB_PASS=
#
# Build time variables to local directories
#
# Path to file downloads named as UUID
PATH_UUID=/opt/webapp/uuid/
# Path to image previews and thumbnails
PATH_IMAGE=/opt/webapp/images/
# Path to webapp generated files such as JSON/XML
PATH_FILES=/opt/webapp/files/

Now you can run and tryout the package.

./build.sh --version; ./build.sh -h

Install the package.

./build.sh install

Build the package.

./build.sh

Install dependencies.

go get github.com/docopt/docopt-go
go get github.com/dustin/go-humanize
go get github.com/go-sql-driver/mysql

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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