From 91f9aa56f0d489c5f06438b21d63a370014bece9 Mon Sep 17 00:00:00 2001 From: Eliot Whalan Date: Thu, 20 Oct 2016 10:25:33 +1000 Subject: [PATCH 1/3] Update README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index c3cc0d9..3268fb3 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,13 @@ sudo yum install -y go mariadb-server mariadb * go get https://github.com/ewhal/Pastebin * make will automatically download the dependencies for Pastebin +* mysql -u root -p +* CREATE USER 'paste'@'localhost' IDENTIFIED BY 'password'; +* CREATE database paste; +* GRANT ALL PRIVILEGES ON paste . * TO 'paste'@'localhost'; +* FLUSH PRIVILEGES; +* quit; +* mysql -u paste -p paste < database.sql * cp config.example.json config.json * nano config.json * Configure port and database details From e7cbd71170b6ccc16edcc9bcfca24242e952786c Mon Sep 17 00:00:00 2001 From: Eliot Whalan Date: Thu, 20 Oct 2016 10:27:54 +1000 Subject: [PATCH 2/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3268fb3..d580206 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ sudo yum install -y go mariadb-server mariadb ### Installing -* go get https://github.com/ewhal/Pastebin +* go get github.com/ewhal/Pastebin * make will automatically download the dependencies for Pastebin * mysql -u root -p * CREATE USER 'paste'@'localhost' IDENTIFIED BY 'password'; From 45ae9f2d446fa0deb40d2bf1d14f82f15f5a991c Mon Sep 17 00:00:00 2001 From: Eliot Whalan Date: Thu, 20 Oct 2016 10:29:31 +1000 Subject: [PATCH 3/3] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d580206..5f5eb91 100644 --- a/README.md +++ b/README.md @@ -22,9 +22,9 @@ sudo yum install -y go mariadb-server mariadb ``` ### Installing - +* Please note this assumes you have Mariadb and Go already setup. * go get github.com/ewhal/Pastebin -* make will automatically download the dependencies for Pastebin +* make * mysql -u root -p * CREATE USER 'paste'@'localhost' IDENTIFIED BY 'password'; * CREATE database paste;