Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
re2o
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nounous
re2o
Commits
2381fd4b
Commit
2381fd4b
authored
Jan 27, 2018
by
Hugo LEVY-FALK
Committed by
root
Jan 28, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
On a besoin de pycrypto.
parent
ff68769c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
install_re2o.sh
install_re2o.sh
+8
-9
requirements.txt
requirements.txt
+1
-0
No files found.
install_re2o.sh
View file @
2381fd4b
...
...
@@ -29,8 +29,6 @@ setup_ldap() {
install_re2o_server
()
{
export
DEBIAN_FRONTEND
=
noninteractive
apt-get
-y
install sudo
dialog
...
...
@@ -107,7 +105,7 @@ clear
if
[
$sql_is_local
==
2
]
then
then
TITLE
=
"Login sql"
sql_login
=
$(
dialog
--title
"
$TITLE
"
\
--backtitle
"
$BACKTITLE
"
\
...
...
@@ -169,7 +167,7 @@ ldap_password=$(dialog --title "$TITLE" \
2>&1
>
/dev/tty
)
clear
if
[
$ldap_is_local
==
2
]
then
then
TITLE
=
"Cn ldap admin"
ldap_cn
=
$(
dialog
--title
"
$TITLE
"
\
--backtitle
"
$BACKTITLE
"
\
...
...
@@ -209,7 +207,7 @@ email_port=$(dialog --clear \
2>&1
>
/dev/tty
)
clear
if
[
$ldap_is_local
==
2
]
then
then
TITLE
=
"Cn ldap admin"
ldap_cn
=
$(
dialog
--title
"
$TITLE
"
\
--backtitle
"
$BACKTITLE
"
\
...
...
@@ -240,6 +238,7 @@ apt-get -y install python3-django python3-dateutil texlive-latex-base texlive-fo
pip3
install
django-bootstrap3
pip3
install
django-ldapdb
pip3
install
django-macaddress
pip3
install
pycrypto
if
[
$sql_bdd_type
==
1
]
then
...
...
@@ -253,7 +252,7 @@ then
echo
$mysql_command
while
true
;
do
read
-p
"Continue (y/n)?"
choice
case
"
$choice
"
in
case
"
$choice
"
in
y|Y
)
break
;;
n|N
)
exit
;;
*
)
echo
"invalid"
;;
...
...
@@ -276,14 +275,14 @@ else
echo sudo
-u
postgres psql
$pgsql_command3
while
true
;
do
read
-p
"Continue (y/n)?"
choice
case
"
$choice
"
in
case
"
$choice
"
in
y|Y
)
break
;;
n|N
)
exit
;;
*
)
echo
"invalid"
;;
esac
done
fi
fi
fi
if
[
$ldap_is_local
==
1
]
then
...
...
@@ -430,7 +429,7 @@ if [ ! -z "$1" ]
then
if
[
$1
==
ldap
]
then
if
[
!
-z
"
$2
"
]
if
[
!
-z
"
$2
"
]
then
echo
Installation
du
ldap
setup_ldap
$2
$3
...
...
requirements.txt
View file @
2381fd4b
django-bootstrap3
django-macaddress
python-dateutil
pycrypto
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