Skip to content

Commit

Permalink
config: use SERVER_NAME = "localhost" for local
Browse files Browse the repository at this point in the history
* Same issue running tests locally as for GitHub Actions in #723.
  • Loading branch information
GraemeWatt committed Dec 14, 2023
1 parent f2d510e commit b33e61a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions INSTALL.rst
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ use a local converter URL, and specify custom temporary and data directories:
.. code-block:: python
SITE_URL = "http://localhost:5000"
SERVER_NAME = "localhost"
TESTING = True
NO_DOI_MINTING = True
USE_TWITTER = False
Expand Down
1 change: 1 addition & 0 deletions hepdata/config_local.docker_compose.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
SITE_URL = "http://localhost:5000"
SERVER_NAME = "localhost"
TESTING = True
NO_DOI_MINTING = True
USE_TWITTER = False
Expand Down
1 change: 1 addition & 0 deletions hepdata/config_local.local.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@
MAIL_SERVER = '127.0.0.1'
MAIL_PORT = 1025
CELERY_BEAT_SCHEDULE = {}
SERVER_NAME = "localhost"
# RUN_SELENIUM_LOCALLY = True

0 comments on commit b33e61a

Please sign in to comment.