Gute changes

This commit is contained in:
Some One 2025-08-19 22:06:27 +02:00
parent fbcfd08e59
commit 72e1328430
3 changed files with 10 additions and 6 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/mdn
/amo

View File

@ -104,7 +104,9 @@ PROTOCOL = 'http://'
DOMAIN = 'localhost'
PORT = 8000
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
cd ..
@ -136,7 +138,7 @@ SESSION_EXPIRE_AT_BROWSER_CLOSE = False"
dbServer="$!"
sleep 3
python ./manage.py runserver --noreload
python ./manage.py runserver --noreload 0.0.0.0:8000
kill "$dbServer"
sleep 6

View File

@ -17,13 +17,14 @@
cd amo
git clone https://github.com/mozilla/addons-server.git --progress
git switch 8b4423547f932b2d9fa2b5a9c81d399bdc29bd6e --detach --progress
cd addons-server
git switch 8b4423547f932b2d9fa2b5a9c81d399bdc29bd6e --detach --progress
cd ../..
fi
cd amo
cd addons-server
python ./manage.py
'';