-
Notifications
You must be signed in to change notification settings - Fork 231
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update by ialbert on Fri Nov 3 23:17:13 DST 2017 from beep
- Loading branch information
Showing
15 changed files
with
110 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
from django.conf.urls import url, include | ||
from django.contrib import admin | ||
from django.conf.urls.static import static | ||
from django.conf import settings | ||
|
||
import biostar.accounts.urls as accounts_urls | ||
import biostar.engine.urls as engine_urls | ||
|
||
urlpatterns = [ | ||
|
||
# The engine handler. | ||
url(r'^', include(engine_urls)), | ||
|
||
# The user account handler. | ||
url(r'^accounts/', include(accounts_urls)), | ||
|
||
# The django generated admin site. | ||
url(r'^django/admin/', admin.site.urls, name='django_admin'), | ||
|
||
] | ||
|
||
if settings.DEBUG: | ||
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT, show_indexes=True) | ||
urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT, show_indexes=True) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
from biostar.engine.settings import * | ||
from biostar.settings import * | ||
|
||
DEBUG=True | ||
DEBUG = True | ||
|
||
WSGI_APPLICATION = 'conf.devel.devel_wsgi.application' | ||
|
||
ALLOWED_HOSTS = [ 'localhost', 'www.lvh.me' ] | ||
ALLOWED_HOSTS = ['localhost', 'www.lvh.me'] | ||
|
||
try: | ||
from .devel_secrets import * | ||
except ImportError as exc: | ||
print("No devel_secrets module could be imported") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,18 @@ | ||
from biostar.engine.settings import * | ||
from .main_secrets import * | ||
from biostar.settings import * | ||
|
||
DEBUG = False | ||
|
||
SITE_ID = 1 | ||
SITE_DOMAIN = "www.metabarcode.com" | ||
SITE_NAME = "Metabarcode Site" | ||
|
||
ALLOWED_HOSTS = [SITE_DOMAIN] | ||
|
||
WSGI_APPLICATION = 'conf.main.main_wsgi.application' | ||
|
||
ALLOWED_HOSTS = ['metabarcode.com', 'www.metabarcode.com'] | ||
SITE_HEADER = '<i class="barcode icon"></i> Metagenomics Barcode Data Repository' | ||
|
||
try: | ||
from .main_secrets import * | ||
except ImportError as exc: | ||
print("No main_secrets module could be imported") |
Oops, something went wrong.