Gute changes
This commit is contained in:
parent
fbcfd08e59
commit
72e1328430
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
/mdn
|
/mdn
|
||||||
|
/amo
|
||||||
|
|||||||
@ -104,7 +104,9 @@ PROTOCOL = 'http://'
|
|||||||
DOMAIN = 'localhost'
|
DOMAIN = 'localhost'
|
||||||
PORT = 8000
|
PORT = 8000
|
||||||
SESSION_COOKIE_SECURE = False
|
SESSION_COOKIE_SECURE = False
|
||||||
SESSION_EXPIRE_AT_BROWSER_CLOSE = False"
|
SESSION_EXPIRE_AT_BROWSER_CLOSE = False
|
||||||
|
ALLOWED_HOSTS = ['*']
|
||||||
|
CSRF_COOKIE_SECURE = False"
|
||||||
echo "$content" > settings_local.py
|
echo "$content" > settings_local.py
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
@ -136,7 +138,7 @@ SESSION_EXPIRE_AT_BROWSER_CLOSE = False"
|
|||||||
dbServer="$!"
|
dbServer="$!"
|
||||||
sleep 3
|
sleep 3
|
||||||
|
|
||||||
python ./manage.py runserver --noreload
|
python ./manage.py runserver --noreload 0.0.0.0:8000
|
||||||
|
|
||||||
kill "$dbServer"
|
kill "$dbServer"
|
||||||
sleep 6
|
sleep 6
|
||||||
|
|||||||
@ -17,13 +17,14 @@
|
|||||||
cd amo
|
cd amo
|
||||||
|
|
||||||
git clone https://github.com/mozilla/addons-server.git --progress
|
git clone https://github.com/mozilla/addons-server.git --progress
|
||||||
git switch 8b4423547f932b2d9fa2b5a9c81d399bdc29bd6e --detach --progress
|
|
||||||
cd addons-server
|
cd addons-server
|
||||||
|
git switch 8b4423547f932b2d9fa2b5a9c81d399bdc29bd6e --detach --progress
|
||||||
|
|
||||||
cd ../..
|
cd ../..
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd amo
|
cd amo
|
||||||
|
cd addons-server
|
||||||
|
|
||||||
python ./manage.py
|
python ./manage.py
|
||||||
'';
|
'';
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user