gitignore, removed my development config and updated README.

This commit is contained in:
Stanislav Nikitin 2018-04-30 22:43:14 +05:00
parent c557abbdb8
commit ab0217fd6a
3 changed files with 21 additions and 27 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
examples/fastpastebin.yaml

View File

@ -1,3 +1,22 @@
# Fast Pastebin
Easy-to-use-and-install pastebin software written in Go.
# Installation and updating
Just issue:
```
go get -u -v github.com/pztrn/fastpastebin
```
This command can be used to update Fast Paste Bin.
# Configuration.
Take a look at [example configuration file](examples/fastpastebin.yaml.dist)
which contains all supported options and their descriptions.
Configuration file position is irrelevant, there is no hardcoded paths where
Fast Paste Bin looking for it's configuration. Use ``-config`` CLI parameter
or ``FASTPASTEBIN_CONFIG`` environment variable to specify path.

View File

@ -1,26 +0,0 @@
# Database configuration.
# Only MySQL database is supported for now.
database:
address: "localhost"
port: "3306"
username: "fastpastebin"
password: "fastpastebin"
database: "fastpastebin"
# Logging configuration.
logging:
# Write log additionally to file?
log_to_file: false
# Log file name.
filename: ""
# Log level. Acceptable parameters: DEBUG, INFO, WARN, ERROR, FATAL, PANIC.
loglevel: "DEBUG"
# HTTP server configuration.
http:
address: "192.168.0.14"
port: "25544"
# By default we're allowing only HTTPS requests. Setting this to true
# will allow HTTP requests. Useful for developing or if you're
# running Fast Pastebin behind reverse proxy that does SSL termination.
allow_insecure: true