Merge branch 'master' of https://github.com/ewhal/Pastebin
This commit is contained in:
commit
83021f4a2d
13
README.md
13
README.md
|
@ -22,9 +22,16 @@ sudo yum install -y go mariadb-server mariadb
|
|||
```
|
||||
|
||||
### Installing
|
||||
|
||||
* go get https://github.com/ewhal/Pastebin
|
||||
* make will automatically download the dependencies for Pastebin
|
||||
* Please note this assumes you have Mariadb and Go already setup.
|
||||
* go get github.com/ewhal/Pastebin
|
||||
* make
|
||||
* 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
|
||||
|
|
Loading…
Reference in New Issue