syncing with repo

El RIDO 2016-08-08 14:38:25 +02:00
parent 6b61a3e243
commit 660074f0b7

@ -1,10 +1,12 @@
## Basic installation # Installation
**TL;DR:** Download the **TL;DR:** Download the
[latest release archive](https://github.com/PrivateBin/PrivateBin/releases/latest) [latest release archive](https://github.com/PrivateBin/PrivateBin/releases/latest)
and extract it in your web hosts folder were you want to install your PrivateBin and extract it in your web hosts folder were you want to install your PrivateBin
instance. Afterwards adjust the configuration. This is relevant for the security of instance. Afterwards adjust the configuration. This is relevant for the security
your PrivateBin instance! of your PrivateBin instance!
## Basic installation
### Requirements ### Requirements
@ -96,34 +98,32 @@ The table prefix option is called `tbl`.
For reference or if you want to create the table schema for yourself (replace For reference or if you want to create the table schema for yourself (replace
`prefix_` with your own table prefix): `prefix_` with your own table prefix):
```sql CREATE TABLE prefix_paste (
CREATE TABLE prefix_paste ( dataid CHAR(16) NOT NULL,
dataid CHAR(16) NOT NULL, data BLOB,
data BLOB, postdate INT,
postdate INT, expiredate INT,
expiredate INT, opendiscussion INT,
opendiscussion INT, burnafterreading INT,
burnafterreading INT, meta TEXT,
meta TEXT, attachment MEDIUMBLOB,
attachment MEDIUMBLOB, attachmentname BLOB,
attachmentname BLOB, PRIMARY KEY (dataid)
PRIMARY KEY (dataid) );
);
CREATE TABLE prefix_comment (
CREATE TABLE prefix_comment ( dataid CHAR(16),
dataid CHAR(16), pasteid CHAR(16),
pasteid CHAR(16), parentid CHAR(16),
parentid CHAR(16), data BLOB,
data BLOB, nickname BLOB,
nickname BLOB, vizhash BLOB,
vizhash BLOB, postdate INT,
postdate INT, PRIMARY KEY (dataid)
PRIMARY KEY (dataid) );
); CREATE INDEX parent ON prefix_comment(pasteid);
CREATE INDEX parent ON prefix_comment(pasteid);
CREATE TABLE prefix_config (
CREATE TABLE prefix_config ( id CHAR(16) NOT NULL, value TEXT, PRIMARY KEY (id)
id CHAR(16) NOT NULL, value TEXT, PRIMARY KEY (id) );
); INSERT INTO prefix_config VALUES('VERSION', '0.22');
INSERT INTO prefix_config VALUES('VERSION', '0.22');
```