2016-07-14 02:04:03 +00:00
|
|
|
#Golang Pastebin
|
2016-07-14 01:53:57 +00:00
|
|
|
[](https://travis-ci.org/ewhal/Pastebin) [](https://godoc.org/github.com/ewhal/Pastebin) [](https://goreportcard.com/report/github.com/ewhal/Pastebin) [](https://raw.githubusercontent.com/pomf/pomf/master/LICENSE.md)
|
2016-07-14 01:53:57 +00:00
|
|
|
|
2016-07-14 03:21:20 +00:00
|
|
|
Modern self-hosted pastebin service with a restful API.
|
|
|
|
|
|
|
|
## Motivation
|
|
|
|
Many Pastebin services exist but all are more complicated than they need to be.
|
|
|
|
That is why I decided to write a pastebin service in golang.
|
2016-06-11 09:35:31 +00:00
|
|
|
|
2016-07-14 01:53:57 +00:00
|
|
|

|
|
|
|
|
|
|
|
## Getting started
|
|
|
|
### Prerequisities
|
|
|
|
* pygmentize
|
|
|
|
* go
|
|
|
|
* mariadb
|
2016-07-14 02:04:03 +00:00
|
|
|
|
2016-07-14 01:53:57 +00:00
|
|
|
```
|
|
|
|
pip install pygmentize
|
|
|
|
sudo yum install -y go mariadb-server mariadb
|
|
|
|
```
|
|
|
|
|
|
|
|
### Installing
|
|
|
|
|
2016-07-14 02:04:03 +00:00
|
|
|
* go get https://github.com/ewhal/Pastebin
|
2016-07-14 01:53:57 +00:00
|
|
|
* nano pastebin.go
|
|
|
|
* Configure port and database details
|
2016-06-11 11:16:00 +00:00
|
|
|
* make
|
2016-07-14 01:53:57 +00:00
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
|
|
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details
|
|
|
|
|