Skip to content

Commit

Permalink
Merge pull request #58 from gem/dj_corsheaders
Browse files Browse the repository at this point in the history
Django-cors-headers requirement
  • Loading branch information
hascar authored May 31, 2024
2 parents 5fab0d9 + b4bcbec commit 17ecde2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion verifier.sh
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,6 @@ if [ -z \$GEM_TOOLS_ONLY ]; then
sudo chown -R ubuntu /var/www/webui
cd oq-engine/openquake/server
cp local_settings.py.tools local_settings.py
pip install django-cors-headers
pip install django-cookie-consent
python manage.py migrate
python manage.py loaddata ../../../oq-platform-standalone/openquakeplatform/fixtures/0001_cookie_consent.json
Expand All @@ -486,6 +485,7 @@ fi
oq webui start -s &> runserver.log &
server=\$!
echo \"\$server\" > /tmp/server.pid
# sleep 4000000
# FIXME Grace time for openquake.server to be started asynchronously
# should be replaced by a timeboxed loop with an availability check
Expand Down

0 comments on commit 17ecde2

Please sign in to comment.