From 688b09315567ee185a6b872d93a7f6d14ce63ac5 Mon Sep 17 00:00:00 2001 From: Daniel Tsvetkov Date: Fri, 21 Jul 2023 23:51:22 +0300 Subject: [PATCH] install works --- .gitignore | 3 ++- oshipka.sh | 6 ++++++ requirements.txt | 2 +- sensitive_dev.py | 1 + 4 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 sensitive_dev.py diff --git a/.gitignore b/.gitignore index 174401e..a38bbb4 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,5 @@ __pycache__ oshipka.egg-info provision/tmp provision/auto_dns/sensitive.py -ssl/ \ No newline at end of file +ssl/ +sensitive.py \ No newline at end of file diff --git a/oshipka.sh b/oshipka.sh index bbd84ed..0dbc2cf 100755 --- a/oshipka.sh +++ b/oshipka.sh @@ -129,6 +129,11 @@ web () { python run.py } +init_apt() { + sudo apt-get update + sudo apt-get install -y build-essential libssl-dev libffi-dev python3-dev +} + init_venv() { virtualenv -p python3 venv } @@ -158,6 +163,7 @@ download_sensitive() { } init() { + init_apt init_venv install_reqs link_dev_oshipka diff --git a/requirements.txt b/requirements.txt index 03f7ffe..e518ec9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ autopep8==1.5.3 Babel==2.8.0 bcrypt==3.1.7 blinker==1.4 -cffi==1.14.0 +cffi==1.15.1 click==7.1.1 dns-lexicon==3.3.11 filelock==3.0.12 diff --git a/sensitive_dev.py b/sensitive_dev.py new file mode 100644 index 0000000..07c59f3 --- /dev/null +++ b/sensitive_dev.py @@ -0,0 +1 @@ +SSO_CLIENT_SECRET = 'secret'