Skip to content

Commit 0c96c6a

Browse files
author
Mohamed ElKalioby
committed
Allowing Title to be changed from Setting file
1 parent 830171b commit 0c96c6a

File tree

5 files changed

+7
-4
lines changed

5 files changed

+7
-4
lines changed

Installation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ This document shows how to install autoDeploy on Ubuntu System
4141
```
4242

4343
* Configure your database
44-
* Create empty database in your DBMS.
45-
* Edit Settings file in `webapp/autoDeploy/settings.py`.
44+
* Create empty database in your DBMS.
45+
* Edit Settings file in `webapp/autoDeploy/settings.py`.
4646

4747
* Create Database by
4848
```sh

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![StackShare](http://img.shields.io/badge/tech-stack-0690fa.svg?style=flat)](http://stackshare.io/mkalioby/autodeploy)
44

5-
Buildong an automated deployment system which is similar to AWS CodeDeploy but is hostable inside enterprise.
5+
An automated deployment system which is similar to AWS CodeDeploy but is hostable inside an enterprise.
66

77
The target is to minimize the manual prone errors of code deployment.
88

webapp/autoDeploy/autoDeploy/processor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ def global_settings(request):
77
print settings.BASE_URL
88
return {
99
'BASE_URL': settings.BASE_URL,
10+
'TITLE': settings.TITLE
1011
}

webapp/autoDeploy/autoDeploy/settings.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,3 +126,5 @@
126126
EMAIL_HOST_PASSWORD=''
127127
EMAIL_USE_TLS=True
128128
EMAIL_FROM="AutoDeploy"
129+
130+
TITLE="autoDeploy"

webapp/autoDeploy/templates/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<head lang="en">
66

77
<meta charset="UTF-8">
8-
<title>autoDeploy</title>
8+
<title>{{ TITLE }}</title>
99
<script type="text/javascript" src="{{STATIC_URL}}js/jquery.min.js"></script>
1010
<link href="{{STATIC_URL}}css/bootstrap.css" rel="stylesheet" type="text/css"/>
1111
<link href="{{STATIC_URL}}css/sb-admin-2.css" rel="stylesheet" type="text/css"/>

0 commit comments

Comments
 (0)