Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
clinicaltrials
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
david Chavalarias
clinicaltrials
Commits
11399334
Commit
11399334
authored
Sep 11, 2017
by
Romain Loth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
better permissions setup in doc from
f1e01a8e
parent
f1e01a8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
README.md
twmodules/crowdsourcingModule/README.md
+5
-3
No files found.
twmodules/crowdsourcingModule/README.md
View file @
11399334
...
@@ -9,11 +9,13 @@ The user inputs (term/topic suggestions) are saved in an sqlite3 db in dir db/,
...
@@ -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:
-
For a new installation one should create the db with the following commands:
```
```
> cd db
cd twmodules/crowdsourcingModule
> sqlite3
crowdsourcing.db
sqlite3 db/
crowdsourcing.db
sqlite> CREATE TABLE terms (source CHAR(250),suggestion CHAR(250),time CHAR(30)) ;
sqlite> CREATE TABLE terms (source CHAR(250),suggestion CHAR(250),time CHAR(30)) ;
sqlite> .exit
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
-
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment