Skip to content

Commit

Permalink
Merge pull request #48 from TheSecretOrganization/rename_ft_transcend…
Browse files Browse the repository at this point in the history
…ence_app

renamed ft_transcendence to core app
  • Loading branch information
antoineverin authored Aug 29, 2024
2 parents 23a3fb9 + c57c2f5 commit 03b4765
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion django/conf/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ python manage.py collectstatic --noinput
echo "Static files collected."

echo "Starting Daphne server with SSL..."
daphne -e ssl:443:privateKey=/ssl/${HOSTNAME}.key:certKey=/ssl/${HOSTNAME}.crt ft_transcendence.asgi:application
daphne -e ssl:443:privateKey=/ssl/${HOSTNAME}.key:certKey=/ssl/${HOSTNAME}.crt core.asgi:application
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from channels.routing import ProtocolTypeRouter
from django.core.asgi import get_asgi_application

os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'ft_transcendence.settings')
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'core.settings')

application = ProtocolTypeRouter(
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
'django.middleware.clickjacking.XFrameOptionsMiddleware',
]

ROOT_URLCONF = 'ft_transcendence.urls'
ROOT_URLCONF = 'core.urls'

TEMPLATES = [
{
Expand All @@ -76,7 +76,7 @@
},
]

ASGI_APPLICATION = 'ft_transcendence.asgi.application'
ASGI_APPLICATION = 'core.asgi.application'

CHANNEL_LAYERS = {
"default": {
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@

from django.core.wsgi import get_wsgi_application

os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'ft_transcendence.settings')
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'core.settings')

application = get_wsgi_application()
2 changes: 1 addition & 1 deletion django/src/manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

def main():
"""Run administrative tasks."""
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'ft_transcendence.settings')
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'core.settings')
try:
from django.core.management import execute_from_command_line
except ImportError as exc:
Expand Down

0 comments on commit 03b4765

Please sign in to comment.