parent
e59ebf02c4
commit
7ede47885f
@ -0,0 +1 @@ |
|||||||
|
web: gunicorn {{cookiecutter.app_name}}.app:create_app\(\) -b 0.0.0.0:$PORT -w 3 |
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 61 KiB |
Before Width: | Height: | Size: 197 KiB After Width: | Height: | Size: 197 KiB |
@ -1,5 +1,5 @@ |
|||||||
{% raw %} |
{% raw %} |
||||||
{% extends "_layouts/base.html" %} |
{% extends "layout.html" %} |
||||||
|
|
||||||
{% block page_title %}Unauthorized{% endblock %} |
{% block page_title %}Unauthorized{% endblock %} |
||||||
|
|
@ -1,5 +1,5 @@ |
|||||||
{% raw %} |
{% raw %} |
||||||
{% extends "_layouts/base.html" %} |
{% extends "layout.html" %} |
||||||
|
|
||||||
{% block page_title %}Page Not Found{% endblock %} |
{% block page_title %}Page Not Found{% endblock %} |
||||||
|
|
@ -1,5 +1,5 @@ |
|||||||
{% raw %} |
{% raw %} |
||||||
{% extends "_layouts/base.html" %} |
{% extends "layout.html" %} |
||||||
|
|
||||||
{% block page_title %}Server error{% endblock %} |
{% block page_title %}Server error{% endblock %} |
||||||
|
|
@ -1,5 +1,5 @@ |
|||||||
{% raw %} |
{% raw %} |
||||||
{% extends "_layouts/base.html" %} |
{% extends "layout.html" %} |
||||||
|
|
||||||
{% block content %} |
{% block content %} |
||||||
<div class="body-content"> |
<div class="body-content"> |
@ -1,5 +1,5 @@ |
|||||||
{% raw %} |
{% raw %} |
||||||
{% extends "_layouts/base.html" %} |
{% extends "layout.html" %} |
||||||
{% block content %} |
{% block content %} |
||||||
<!-- Main jumbotron for a primary marketing message or call to action --> |
<!-- Main jumbotron for a primary marketing message or call to action --> |
||||||
<div class="jumbotron"> |
<div class="jumbotron"> |
@ -1,5 +1,5 @@ |
|||||||
{% raw %} |
{% raw %} |
||||||
{% extends "_layouts/base.html" %} |
{% extends "layout.html" %} |
||||||
{% block content %} |
{% block content %} |
||||||
<div class="container-narrow"> |
<div class="container-narrow"> |
||||||
<h1>Register</h1> |
<h1>Register</h1> |
@ -1,5 +1,5 @@ |
|||||||
{% raw %} |
{% raw %} |
||||||
{% extends "_layouts/base.html" %} |
{% extends "layout.html" %} |
||||||
{% block content %} |
{% block content %} |
||||||
<h1>Welcome {{ session.username }}</h1> |
<h1>Welcome {{ session.username }}</h1> |
||||||
<h3>This is the members-only page.</h3> |
<h3>This is the members-only page.</h3> |
@ -1,8 +1,8 @@ |
|||||||
# -*- coding: utf-8 -*- |
# -*- coding: utf-8 -*- |
||||||
from flask.ext.testing import TestCase |
from flask.ext.testing import TestCase |
||||||
from {{ cookiecutter.repo_name }}.settings import Config |
from {{ cookiecutter.app_name }}.settings import Config |
||||||
from {{ cookiecutter.repo_name }}.app import create_app |
from {{ cookiecutter.app_name }}.app import create_app |
||||||
from {{ cookiecutter.repo_name }}.database import db |
from {{ cookiecutter.app_name }}.database import db |
||||||
|
|
||||||
|
|
||||||
class TestConfig(Config): |
class TestConfig(Config): |
@ -1 +0,0 @@ |
|||||||
web: gunicorn {{cookiecutter.repo_name}}.app:create_app\(\) -b 0.0.0.0:$PORT -w 3 |
|
Loading…
Reference in new issue