[TASK] Adapt .gitignore to only ignore the static directory used to collect things.

This commit is contained in:
Jan Philipp Timme 2014-07-27 11:05:01 +02:00
parent f274ec4bb3
commit d71d101fb8
4 changed files with 21 additions and 7 deletions

3
.gitignore vendored
View File

@ -3,4 +3,5 @@
.pydevproject .pydevproject
*.pyc *.pyc
citavi_mapper/private_settings.py citavi_mapper/private_settings.py
static
static/

View File

@ -1 +1,17 @@
Use pip install -r requirements.txt to install this application. Installation
============
You may (or may not) want to use a virtualenv for this.
> pip install -r requirements.txt
Do not forget to create your private_settings.py!
> cp private_settings.example.py private_settings.py
> vi private_settings.py # Enter your secrets and your database connection.
Before using in production (or development), run this:
> python manage.py collectstatic
Static files will be collected in /static, use this in your webserver configuration for production.

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

View File

@ -21,14 +21,11 @@
class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span
class="icon-bar"></span> class="icon-bar"></span>
</button> </button>
<a class="navbar-brand" href="/">sasas</a> <a class="navbar-brand" href="/">Citavi Mapper :: {{title}}</a>
</div>
<div class="collapse navbar-collapse" id="navbar-collapse">
navabfbisaofboisa
</div> </div>
</div> </div>
</nav> </nav>
<div class="hsh-page-header"> <div class="page-header">
<div id="header" class="container"> <div id="header" class="container">
<img src="{% static 'images/logo.png' %}" class="hidden-sm hidden-xs"> <img src="{% static 'images/logo.png' %}" class="hidden-sm hidden-xs">
<h1>{{page.title}}</h1> <h1>{{page.title}}</h1>