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'