From 589527439a10d09f7beaf389a62ac4d580f0a236 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 210c2c7bdcb38d6eb474775a05e57be1f699a8fe 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 3537c5386676fd00d4579b54488a687e56e17917 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;