Skip to content

Commit

Permalink
Allowing Title to be changed from Setting file
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohamed ElKalioby committed Jan 20, 2019
1 parent 830171b commit 0c96c6a
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ This document shows how to install autoDeploy on Ubuntu System
```

* Configure your database
* Create empty database in your DBMS.
* Edit Settings file in `webapp/autoDeploy/settings.py`.
* Create empty database in your DBMS.
* Edit Settings file in `webapp/autoDeploy/settings.py`.

* Create Database by
```sh
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

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

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

Expand Down
1 change: 1 addition & 0 deletions webapp/autoDeploy/autoDeploy/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ def global_settings(request):
print settings.BASE_URL
return {
'BASE_URL': settings.BASE_URL,
'TITLE': settings.TITLE
}
2 changes: 2 additions & 0 deletions webapp/autoDeploy/autoDeploy/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,3 +126,5 @@
EMAIL_HOST_PASSWORD=''
EMAIL_USE_TLS=True
EMAIL_FROM="AutoDeploy"

TITLE="autoDeploy"
2 changes: 1 addition & 1 deletion webapp/autoDeploy/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head lang="en">

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

0 comments on commit 0c96c6a

Please sign in to comment.