Commit 11399334 authored by Romain Loth's avatar Romain Loth

better permissions setup in doc from f1e01a8e

parent f1e01a8e
......@@ -9,11 +9,13 @@ The user inputs (term/topic suggestions) are saved in an sqlite3 db in dir db/,
- For a new installation one should create the db with the following commands:
```
> cd db
> sqlite3 crowdsourcing.db
cd twmodules/crowdsourcingModule
sqlite3 db/crowdsourcing.db
sqlite> CREATE TABLE terms (source CHAR(250),suggestion CHAR(250),time CHAR(30)) ;
sqlite> .exit
> chmod -v 775 crowdsourcing.db
chmod -v 664 db/crowdsourcing.db
chown :www-data db
chown :www-data db/crowdsourcing.db
```
- data saving is done by an XHR POST to a PHP script under `db/s.php` so you need a working php engine associated to your web server
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment