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
c88079ae
Commit
c88079ae
authored
Jul 05, 2017
by
sim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ADMIN] Add gargantext project dir to virtualenv python paths
parent
6c709676
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
show_nodes.py
gargantext/tools/show_nodes.py
+0
-2
Debian.sh
install/gargamelle/Debian.sh
+1
-0
No files found.
gargantext/tools/show_nodes.py
View file @
c88079ae
# Make this a standalone script...
# Make this a standalone script...
# Can be called this way: python3 gargantext/tools/show_nodes.py
# Can be called this way: python3 gargantext/tools/show_nodes.py
import
sys
import
os
import
os
import
django
import
django
sys
.
path
.
append
(
os
.
path
.
abspath
(
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
))
+
'/../..'
))
os
.
environ
.
setdefault
(
'DJANGO_SETTINGS_MODULE'
,
'gargantext.settings'
)
os
.
environ
.
setdefault
(
'DJANGO_SETTINGS_MODULE'
,
'gargantext.settings'
)
django
.
setup
()
django
.
setup
()
...
...
install/gargamelle/Debian.sh
View file @
c88079ae
...
@@ -54,6 +54,7 @@ update-locale LC_ALL=fr_FR.UTF-8
...
@@ -54,6 +54,7 @@ update-locale LC_ALL=fr_FR.UTF-8
cd
/srv/
cd
/srv/
pip3
install
virtualenv
pip3
install
virtualenv
virtualenv /srv/env_3-5
-p
/usr/bin/python3.5
virtualenv /srv/env_3-5
-p
/usr/bin/python3.5
echo
'/srv/gargantext'
>
/srv/env_3-5/lib/python3.5/site-packages/gargantext.pth
echo
'alias venv="source /srv/env_3-5/bin/activate"'
>>
~/.bashrc
echo
'alias venv="source /srv/env_3-5/bin/activate"'
>>
~/.bashrc
# CONFIG FILES
# CONFIG FILES
...
...
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