Commit 10f5ba3e03e51bd8fe9f98f73317a4ddee62ffe6

Authored by fbormann
2 parents f47bcf5d 2204dbd0

fixing requirements.txt merge

Procfile 0 → 100644
@@ -0,0 +1 @@ @@ -0,0 +1 @@
  1 +web: gunicorn amadeus.wsgi:application --log-file -
0 \ No newline at end of file 2 \ No newline at end of file
@@ -86,3 +86,24 @@ Para Classes que envolvem formulários: @@ -86,3 +86,24 @@ Para Classes que envolvem formulários:
86 [2] https://github.com/FezVrasta/bootstrap-material-design 86 [2] https://github.com/FezVrasta/bootstrap-material-design
87 87
88 [Django Breadcrumbs](http://django-bootstrap-breadcrumbs.readthedocs.io/en/latest/) 88 [Django Breadcrumbs](http://django-bootstrap-breadcrumbs.readthedocs.io/en/latest/)
  89 +
  90 +
  91 +## Sprint WorkFlow
  92 +[PT-BR]
  93 +**Dia : Atividade**
  94 +* 01 Segunda: Retrospective/Planning
  95 +* 05 Sexta: Review
  96 +* 08 Segunda: Weekly Meeting
  97 +* 10 Quarta: Sprint Deadline
  98 +* 11 Quinta: Review
  99 +* 12 Sexta: Deploy
  100 +
  101 +[EN-US]
  102 +
  103 +**Day : Activity**
  104 +* 01 Monday: Retrospective/Planning
  105 +* 05 Friday: Review
  106 +* 08 Monday: Weekly Meeting
  107 +* 10 Wednesday: Sprint Deadline
  108 +* 11 Thursday: Review
  109 +* 12 Friday: Deploy
amadeus/settings.py
@@ -12,6 +12,11 @@ https://docs.djangoproject.com/en/1.9/ref/settings/ @@ -12,6 +12,11 @@ https://docs.djangoproject.com/en/1.9/ref/settings/
12 12
13 import os 13 import os
14 14
  15 +import dj_database_url
  16 +
  17 +db_from_ev = dj_database_url.config(conn_max_age=500)
  18 +
  19 +
15 # Build paths inside the project like this: os.path.join(BASE_DIR, ...) 20 # Build paths inside the project like this: os.path.join(BASE_DIR, ...)
16 BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) 21 BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
17 22
@@ -95,14 +100,7 @@ WSGI_APPLICATION = 'amadeus.wsgi.application' @@ -95,14 +100,7 @@ WSGI_APPLICATION = 'amadeus.wsgi.application'
95 # https://docs.djangopr/*oject.com/en/1.9/ref/settings/#databases 100 # https://docs.djangopr/*oject.com/en/1.9/ref/settings/#databases
96 101
97 DATABASES = { 102 DATABASES = {
98 - 'default': {  
99 - 'ENGINE': 'django.db.backends.postgresql',  
100 - 'NAME': 'amadeus',  
101 - 'USER': 'amadeus_admin',  
102 - 'PASSWORD': 'amadeus',  
103 - 'HOST': '127.0.0.1',  
104 - 'PORT': '5432',  
105 - } 103 + 'default': db_from_ev
106 } 104 }
107 105
108 106
app.json 0 → 100644
@@ -0,0 +1,16 @@ @@ -0,0 +1,16 @@
  1 +{
  2 + "name": "amadeuslms",
  3 + "description": "Json created to integrate github with heroku",
  4 + "scripts": {
  5 + },
  6 + "env": {
  7 + },
  8 + "formation": {
  9 + },
  10 + "addons": [
  11 +
  12 + ],
  13 + "buildpacks": [
  14 +
  15 + ]
  16 +}
requirements.txt
1 click==6.6 1 click==6.6
  2 +deps==0.1.0
  3 +dj-database-url==0.4.1
2 Django==1.10 4 Django==1.10
3 django-autoslug==1.9.3 5 django-autoslug==1.9.3
4 django-bootstrap-breadcrumbs==0.8 6 django-bootstrap-breadcrumbs==0.8
runtime.txt 0 → 100644
@@ -0,0 +1 @@ @@ -0,0 +1 @@
  1 +python-3.5.2
0 \ No newline at end of file 2 \ No newline at end of file