From dc3b9ea20604206a7705d3497d9958020f53d51e Mon Sep 17 00:00:00 2001 From: Maciej Procyk Date: Sat, 7 Mar 2020 22:54:00 +0100 Subject: [PATCH] ref name fix --- .github/workflows/webserver_deploy.yml | 2 +- .gitignore | 5 +++++ server/__pycache__/manage.cpython-38.pyc | Bin 812 -> 0 bytes server/home/__pycache__/__init__.cpython-38.pyc | Bin 161 -> 0 bytes server/home/__pycache__/urls.cpython-38.pyc | Bin 292 -> 0 bytes server/home/__pycache__/views.cpython-38.pyc | Bin 409 -> 0 bytes .../server/__pycache__/__init__.cpython-38.pyc | Bin 163 -> 0 bytes .../server/__pycache__/settings.cpython-38.pyc | Bin 2299 -> 0 bytes server/server/__pycache__/urls.cpython-38.pyc | Bin 984 -> 0 bytes server/server/__pycache__/wsgi.cpython-38.pyc | Bin 564 -> 0 bytes server/server/settings.py | 2 +- 11 files changed, 7 insertions(+), 2 deletions(-) delete mode 100644 server/__pycache__/manage.cpython-38.pyc delete mode 100644 server/home/__pycache__/__init__.cpython-38.pyc delete mode 100644 server/home/__pycache__/urls.cpython-38.pyc delete mode 100644 server/home/__pycache__/views.cpython-38.pyc delete mode 100644 server/server/__pycache__/__init__.cpython-38.pyc delete mode 100644 server/server/__pycache__/settings.cpython-38.pyc delete mode 100644 server/server/__pycache__/urls.cpython-38.pyc delete mode 100644 server/server/__pycache__/wsgi.cpython-38.pyc diff --git a/.github/workflows/webserver_deploy.yml b/.github/workflows/webserver_deploy.yml index f0d59b53..c2de7ae9 100644 --- a/.github/workflows/webserver_deploy.yml +++ b/.github/workflows/webserver_deploy.yml @@ -14,4 +14,4 @@ jobs: - uses: actions/checkout@v1 - name: Deploy to Heroku if: github.ref == 'refs/heads/server' && job.status == 'success' - run: git subtree push --prefix server https://heroku:${{ secrets.HEROKU_API_TOKEN }}@git.heroku.com/mycanteenapp.git remotes/origin/server:master + run: git subtree push --prefix server https://heroku:${{ secrets.HEROKU_API_TOKEN }}@git.heroku.com/mycanteenapp.git server:master diff --git a/.gitignore b/.gitignore index 9f11b755..e0e43ac1 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,6 @@ .idea/ +!**/__pycache__/ +*.log +*.pot +*.pyc +local_settings.py diff --git a/server/__pycache__/manage.cpython-38.pyc b/server/__pycache__/manage.cpython-38.pyc deleted file mode 100644 index 2c2bea2b23daa2f5be86b53bf99fd2b39b85b19d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 812 zcmYjP!EO^V5VgIVCKOV7s48*utqOwO6GB3W5;awu3X)1m)HXt_+_e+A*|jU%8#PhO zfg7TpLH1qC~W51fA)E+5$eL1C^w*j%AtP6ttpj%4Eh)GeNcTiH07Y z^!K}+!)AY<3N@8Rt6V5Yr_4y7w@q7;FG_;4W8tXNl%=36bAmDo2VB9j`$xAMwUTIC zR&UFdt3Zs45i2rRZt}(LMX5F-g4<(b;oF%2D3=f03o^ULXj2AuX3LP7@w7pf;XquZ zH^@AK)IZxhui^pdW@DpIg^63jPMkiEd;LMH-HhAac-bgfY8x+?56h0x`K%0cCRG(m z*$r?AuVI4MVGvCIk&yh|sF*d_FKbESGn1rIDXU4sb($n5got_I-Cd4ixqyJjcF)xp Z6<+6>7nykDpPTjXEyOik3u^Tm{tvCU;iCWm diff --git a/server/home/__pycache__/__init__.cpython-38.pyc b/server/home/__pycache__/__init__.cpython-38.pyc deleted file mode 100644 index 86f6edd45ebdfa23f28e53fbf3d2c18cd4399f0a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 161 zcmWIL<>g`kf`C;?aUl9Jh(HF6K#l_t7qb9~6oz01O-8?!3`HPe1o6ww*(xTqIJKxa zrYJutwJ63VwK%&ZzaS(ZD;9i;#A8zaGRvm;}ool>Hc-+N! zmqy4K!k8Vt)st)e2e|n9FMQwJp6k++^V-=ZIXxr)+}lns9?IGLTF>wG@$?hV?AiaL cwKb$;TG73Q(S@SNv{naH!B1H5ocUjP6A diff --git a/server/home/__pycache__/views.cpython-38.pyc b/server/home/__pycache__/views.cpython-38.pyc deleted file mode 100644 index fe20f2be34b667213594cf0f7017a0a65f9cb1a5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 409 zcmYjNy-or_5Z=AxfG8wB!WK3ph6galXrPb=6Oou)HX81B0w;IuIkTYH>dR337WOvR zTKNiA&LRbq%>Oqt-|o2GJ`gNlAIbeE`){A@OTftmD;={j!pK|{GM3WEK^_!g9C93* z+PjErCK`!O{fCjFBda>X!T@e$)w*)7ya6ihf*_T?zY`z(6FpXHvT=OkP4b#x_ajg=V6snjQP{~@&vpfe>Q%L8Qx)|~_Uu_^fErHxdV4W+!z22!F6Ci1{ z383x+&7Cdv=yu#6TU|@m;;j;F-GRx{5M>$xFkN^lXJh&vn>| w;-mlRF3l{ubm<5^pgP=@XZ&!iab-KOWwdAf!m4>zShLLG-2Vl6Y)iJHKO?wgC;$Ke diff --git a/server/server/__pycache__/__init__.cpython-38.pyc b/server/server/__pycache__/__init__.cpython-38.pyc deleted file mode 100644 index cea4788b901fda81af8afb2e60250538c3a6e7f4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 163 zcmWIL<>g`kf=?@x;z0Cc5P=LBfgA@QE@lA|DGb33nv8xc8Hzx{2;!HAvsFxJacWU< zOi_MPYEg_!YH@Z+enCudNT`daV~nSNOiET_UV45!P)!+79+irZ&&8GO zG>6Jg!6>71XdYG2d2|6Spo>n?IEOA7^JvlG5RWdSE9fd(Lf0IgfF>g#^&Ng>Gl`u!$Y%5vZGoj{0m`EJPHX2qT{l#5M6DSg(UiF9@+feDLmBj0C;_59<+#M_l|RM8xGD zV*~oAT1A0P#bJ!&4D7(GV!sLwt1K80n^uqWtq$F@9v1c@*A-ksnGo!qtjF>Z1i~Z~ z4lFmq^#8;P@!mwBKVbj4R($_4ePOR2tljbV`|)ktah#*>s(;@OUfOHsk=671he3bs zVSI2WV&=hPf8V;V$Croe5$(WdA?b=4cJbmgH)6f`#uPI(!9HV015D$kDIvv_0-C1< z9tbQ4EUr&mFu>nVQK#|hNahiQTzqJSSftpFLc)$jZ8T_(W%0vlSEJzKguOQ8O<1j* z4g%Zh1-@9zKL4Rg!#%MEWQX9x3DvKsadJ)G!O&T|c;7wS4 z^`1qz#NO{)_C8d+`2Bilc~~8!rA;U7&J9~hj6#>j)sYj1y@3neBzD0X`{=mZMLBCM zeI%yFrEKqCG86j1hMaM<0i!*43_yzO?i|>wf$Mu=Q`5wr4d?()FGlZ7y!cA_9aDx z_pHce<7!6T6Y%H@moWSwE(3EkUdbl~rL|FSDGA?_no3xN){Qr(^3G~zU{QJ)gvf;B zfuJm$*oHhLmNsg{utq%MT4_)03^jr+leG>Xm-bvBw z(u`9w&GZB@O{4To(v)-?ld`7NwiVrcuKbY9%F46$MpBU)4Ru$M%}rI)wd8!grRl%| z2JF3-l$&)~ZYaCbwvx57&t>}nhJRKHQLNokoRd_N$5 zGAB#Alm^$5Yf@X^G`A#8+f}z^b4O~_L8wBFRT@%jqb+SHW=)k9a9eLGrlCSvl-iJX z{oXgN;iz$Mt(6o~o^HTObcj?-v-yP!1t^`2yxFWh>ZGMXJ7LhpVMoSvAAUz2O>fI} zsZ&=w!(B0lW!#zm4F9m=;3z45>jfxs@e}w1bCdz$=Swp;i~J0q=L`AV_quKSlrI7a_v%F8mAJpbh!} diff --git a/server/server/__pycache__/urls.cpython-38.pyc b/server/server/__pycache__/urls.cpython-38.pyc deleted file mode 100644 index c01cc1ada3336c21b31fd309094854eb450cebc2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 984 zcma)5-EPw`7W-iQ5rdeS z!OXxk^th9Cm=##88*~jsyTqav>F$la3F96$cfDPIZ*I(BK>C-+9mL!OE-G%Qz{^kX z@r>u|bW@60r98Lot1ZRXrO1j{DJpV#jk8oLEO@D?)EgvL9N(n$R(kk?3(UBnIL+5w zu$lrF8I2{ylG3S-p>35aMLHPiS#wthvTJh zzx^6B;F44OqRbPm?r>~P`pm=Ugy1;GDJ!^8Q;gSwGtBOyxG0*%7XEpIuPuXtmP6PI zX18Oc)hnxocMa23J`+`U>5j=$vc(eXj=jAKa6w zA4TwLq9}OO2nByiq$>eW7*)fTdI6P#gf5lJlBuGVr9D-{);)hiVyHp7`!%0U!zEOK z3O5+oaACuQO>?t}<7KD4; zm)^p|*pq(MTl72v-nReki1+!?cOSFf7qU3!eo98iw?Bdp={TWN14DgqU~2v4Jp zzIHm|P)mJNfpXEcEkzXk!fues$ZMXI;PQ4ZKfq|7#&6Fj<7u8=&SuGEoaXPR@%-K8 z?W6AUp#|rJD(z^{4DuWa^1Si2Z60?VVS)HzTh;ie(+oiEgwd)A@F0gZyOOTCe;{~A zO#6&`_b0wM%jPI#Gox2vvKZ_qr|T@8&Ew=eOQu<;l6NrK|Djb4>ziiyvg`UQ{1wCw N(e>{Q{RjR-|1UYYvLgTh diff --git a/server/server/settings.py b/server/server/settings.py index d4ef1f8d..c8cd7a1a 100644 --- a/server/server/settings.py +++ b/server/server/settings.py @@ -25,7 +25,7 @@ # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True -ALLOWED_HOSTS = [] +ALLOWED_HOSTS = ['*'] # Application definition