Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
gargantext
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
humanities
gargantext
Commits
362b3a39
Commit
362b3a39
authored
Jul 25, 2016
by
c24b
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
INSTALL NLTK module data path + DEBUG file
parent
bc2970b2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
1 deletion
+16
-1
Dockerfile
install/gargamelle/Dockerfile
+2
-1
debug
install/gargamelle/debug
+14
-0
No files found.
install/gargamelle/Dockerfile
View file @
362b3a39
...
...
@@ -66,7 +66,8 @@ ADD django_configure.sh /
RUN
.
/env_3-5/bin/activate
&&
pip3
install
-r
requirements.txt
&&
\
pip3
install
git+https://github.com/zzzeek/sqlalchemy.git@rel_1_1
&&
\
python3
-m
nltk.downloader averaged_perceptron_tagger
;
python3
-m
nltk.downloader averaged_perceptron_tagger
-d
/usr/local/share/nltk_data
;
# nltk.data.path.append('path_to_nltk_data')
RUN
chown
gargantua:gargantua
-R
/env_3-5
...
...
install/gargamelle/debug
0 → 100644
View file @
362b3a39
#!/bin/bash
sudo
docker run
\
-v
/srv/:/srv/
\
-p
8000:8000
\
-p
5432
\
-it
gargamelle:latest
\
/bin/bash
-c
"service postgresql start; /bin/su gargantua -c 'source /env_3-5/bin/activate && /srv/gargantext/manage.py runserver 0.0.0.0:8000' && bin/bash"
sudo
docker
rm
-f
`
docker ps
-a
|
grep
-v
CONTAINER |
awk
'{print $1 }'
`
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