-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·69 lines (45 loc) · 1.23 KB
/
install.sh
File metadata and controls
executable file
·69 lines (45 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#!/bin/bash
#
# installer for rayvyn
#
#
vdir="venv"
echo "
APP_INSTALLER
"
echo "[i] Initializing "
if [ -d "$vdir" ]; then
echo " > old venv found, creating new"
rm -Rf $vdir
fi
echo " > installing new virtual-env in $vdir"
echo "> installing virtualenv in $vdir"
virtualenv -p python3 $vdir
. $vdir/bin/activate
echo "> installing requirements"
#pip3 install --upgrade -i https://pypi.python.org/simple/ pip3
pip3 install --upgrade simplejson
pip3 install --upgrade sqlalchemy
pip3 install --upgrade marshmallow
pip3 install --upgrade requests
pip3 install --upgrade ipaddress colorama click
pip3 install --upgrade python-dateutil
pip3 install --upgrade cpe
pip3 install --upgrade cvss
pip3 install --upgrade pygments
pip3 install --upgrade shodan
pip3 install --upgrade marshmallow-sqlalchemy
pip3 install --upgrade flask
pip3 install --upgrade flask_sqlalchemy
pip3 install --upgrade flask_marshmallow
pip3 install --upgrade sqlalchemy_utils
pip3 install --upgrade datetime
pip3 install --upgrade flask_script
pip3 install --upgrade flask_migrate
pip3 install --upgrade PyYAML
mkdir database
mkdir -p migrations/versions
mkdir raw
mkdir logs
#mkdir data
#rm venv/lib/python2.7/no-global-site-packages.txt