Fakultas Ilmu Komputer UI

Commit 278407d1 authored by Kevin Albert Simanjuntak's avatar Kevin Albert Simanjuntak
Browse files

add procfile for deployment

parent 1fbf3103
Pipeline #20007 passed with stage
in 45 seconds
This diff is collapsed.
......@@ -3,3 +3,4 @@ pytz==2019.2
selenium==3.141.0
sqlparse==0.3.0
urllib3==1.25.3
whitenoise==3.3.0
\ No newline at end of file
......@@ -14,6 +14,8 @@ import os
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__))
ALLOWED_HOSTS = ['*']
# Quick-start development settings - unsuitable for production
......@@ -25,8 +27,6 @@ SECRET_KEY = 'bmgr4@$g#+(o=tp7l(_=&ca3s6o*gul%8j@arvh^+-%b)rhtni'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
ALLOWED_HOSTS = []
# Application definition
......@@ -117,5 +117,5 @@ USE_TZ = True
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/2.0/howto/static-files/
STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(PROJECT_ROOT, 'static')
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment