Some New Fixes for Remote Jenkins
This fixes will continue... Change-Id: I4edaf8b9b415059b0a0a712f827786f9bfc21d2b
This commit is contained in:
parent
3b3e982e72
commit
aa1bdbfd0e
|
@ -28,8 +28,12 @@ DEBUG = True
|
||||||
ALLOWED_HOSTS = [
|
ALLOWED_HOSTS = [
|
||||||
'dash-stack',
|
'dash-stack',
|
||||||
'127.0.0.1',
|
'127.0.0.1',
|
||||||
|
'demo.dash-stack.com'
|
||||||
]
|
]
|
||||||
|
|
||||||
|
# fullt qualified hostname or domain. Ex <http://domain.tld/>
|
||||||
|
SITE_ROOT_URL = 'http://demo.dash-stack.com/'
|
||||||
|
|
||||||
# login url
|
# login url
|
||||||
LOGIN_URL = '/auth/login/'
|
LOGIN_URL = '/auth/login/'
|
||||||
|
|
||||||
|
@ -77,7 +81,7 @@ ROOT_URLCONF = 'dash_stack_dashboard.urls'
|
||||||
TEMPLATES = [
|
TEMPLATES = [
|
||||||
{
|
{
|
||||||
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
||||||
'DIRS': ['templates',],
|
'DIRS': [os.path.join(BASE_DIR, 'templates')],
|
||||||
'APP_DIRS': True,
|
'APP_DIRS': True,
|
||||||
'OPTIONS': {
|
'OPTIONS': {
|
||||||
'context_processors': [
|
'context_processors': [
|
||||||
|
@ -170,7 +174,4 @@ EMAIL_PORT = 25
|
||||||
EMAIL_HOST_USER = ''
|
EMAIL_HOST_USER = ''
|
||||||
EMAIL_HOST_PASSWORD = ''
|
EMAIL_HOST_PASSWORD = ''
|
||||||
EMAIL_USE_TLS = False
|
EMAIL_USE_TLS = False
|
||||||
DEFAULT_EMAIL_FROM = 'admin@dash-stack.org'
|
DEFAULT_EMAIL_FROM = 'admin@dash-stack.org'
|
||||||
|
|
||||||
# fullt qualified hostname or domain. Ex <http://domain.tld/>
|
|
||||||
SITE_ROOT_URL = 'http://198.211.127.189/'
|
|
|
@ -1,16 +1,12 @@
|
||||||
"""
|
import os, sys
|
||||||
WSGI config for dash_stack project.
|
|
||||||
|
|
||||||
It exposes the WSGI callable as a module-level variable named ``application``.
|
|
||||||
|
|
||||||
For more information on this file, see
|
sys.path.append('/usr/share/dash-stack/dash_stack_dashboard')
|
||||||
https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/
|
|
||||||
"""
|
sys.path.append('/usr/share/dash-stack/venv/lib/python2.7/site-packages')
|
||||||
|
|
||||||
import os
|
|
||||||
|
|
||||||
from django.core.wsgi import get_wsgi_application
|
from django.core.wsgi import get_wsgi_application
|
||||||
|
|
||||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "dash_stack_dashboard.settings")
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "dash_stack_dashboard.settings")
|
||||||
|
|
||||||
application = get_wsgi_application()
|
application = get_wsgi_application()
|
||||||
|
|
|
@ -15,6 +15,9 @@
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
import sphinx_rtd_theme
|
||||||
|
|
||||||
|
|
||||||
# If extensions (or modules to document with autodoc) are in another directory,
|
# If extensions (or modules to document with autodoc) are in another directory,
|
||||||
# add these directories to sys.path here. If the directory is relative to the
|
# add these directories to sys.path here. If the directory is relative to the
|
||||||
# documentation root, use os.path.abspath to make it absolute, like shown here.
|
# documentation root, use os.path.abspath to make it absolute, like shown here.
|
||||||
|
@ -100,7 +103,7 @@ pygments_style = 'sphinx'
|
||||||
|
|
||||||
# The theme to use for HTML and HTML Help pages. See the documentation for
|
# The theme to use for HTML and HTML Help pages. See the documentation for
|
||||||
# a list of builtin themes.
|
# a list of builtin themes.
|
||||||
html_theme = 'default'
|
html_theme = 'sphinx_rtd_theme'
|
||||||
|
|
||||||
# Theme options are theme-specific and customize the look and feel of a theme
|
# Theme options are theme-specific and customize the look and feel of a theme
|
||||||
# further. For a list of options available for each theme, see the
|
# further. For a list of options available for each theme, see the
|
||||||
|
@ -108,7 +111,7 @@ html_theme = 'default'
|
||||||
#html_theme_options = {}
|
#html_theme_options = {}
|
||||||
|
|
||||||
# Add any paths that contain custom themes here, relative to this directory.
|
# Add any paths that contain custom themes here, relative to this directory.
|
||||||
#html_theme_path = []
|
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
|
||||||
|
|
||||||
# The name for this set of Sphinx documents. If None, it defaults to
|
# The name for this set of Sphinx documents. If None, it defaults to
|
||||||
# "<project> v<release> documentation".
|
# "<project> v<release> documentation".
|
||||||
|
|
|
@ -1,6 +1,36 @@
|
||||||
Welcome to dash-stack's documentation!
|
Welcome to dash-stack's documentation!
|
||||||
==========================================
|
==========================================
|
||||||
|
|
||||||
|
Installation
|
||||||
|
============
|
||||||
|
|
||||||
|
Follow this part of the document to install dash-stack in your environment.
|
||||||
|
|
||||||
|
Requirements
|
||||||
|
------------
|
||||||
|
|
||||||
|
In order dash-stack to work correctly, you must install following OS packages:
|
||||||
|
- MariaDB Server 10.1
|
||||||
|
- python-virtualenv
|
||||||
|
- python-pip
|
||||||
|
- libmariadbclient-dev
|
||||||
|
- libmysqlclient18-dev
|
||||||
|
- openssl
|
||||||
|
- libssl-dev
|
||||||
|
- gettext
|
||||||
|
- apache2
|
||||||
|
- libapache2-mod-wsgi
|
||||||
|
|
||||||
|
How to Install
|
||||||
|
--------------
|
||||||
|
|
||||||
|
|
||||||
|
Configuration
|
||||||
|
=============
|
||||||
|
|
||||||
|
Developer
|
||||||
|
=========
|
||||||
|
|
||||||
Contents:
|
Contents:
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
|
|
Loading…
Reference in New Issue