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
77a33f72
Commit
77a33f72
authored
Apr 28, 2016
by
c24b
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bash script proposal for install.sh
parent
f23a4ce9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
install.sh
install/install.sh
+20
-0
No files found.
install/install.sh
0 → 100644
View file @
77a33f72
#!/usr/bin/bash
echo
"Adding user gargantua"
;
sudo
adduser
--disabled-password
--gecos
""
gargantua
;
echo
"Creating the environnement into /srv/"
;
for
dir
in
"/srv/gargantext"
"/srv/gargantext_lib"
"/srv/gargantext_static"
"/srv/gargantext_media""/srv/env_3-5"
;
do
sudo mkdir
-p
$dir
;
sudo chown
gargantua:gargantua
$dir
;
done
;
echo
"Downloading the libs"
;
wget http://dl.gargantext.org/gargantext_lib.tar.bz2
\
&&
tar
xvjf gargantext_lib.tar.bz2
-o
/srv/gargantext_lib
\
&&
sudo chown
-R
gargantua:gargantua /srv/gargantext_lib
\
&&
echo
"Libs installed"
;
#cp ~/.ssh/id_rsa.pub id_rsa.pub
echo
"Cloning the repo"
;
git clone ssh://gitolite@delanoe.org:1979/gargantext /srv/gargantext
\
&&
cd
/srv/gargantext
\
&&
git fetch origin refactoring
\
&&
git checkout refactoring
\
echo
"Currently on /srv/gargantext refactoring branch"
;
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