Skip to content

Commit

Permalink
Update boilerplate.
Browse files Browse the repository at this point in the history
  • Loading branch information
James Brewer committed May 19, 2007
1 parent 68960ce commit aef7c9b
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 19 deletions.
12 changes: 0 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,3 @@
* `$ python manage.py migrate`
* `$ python manage.py runserver`

## Deployment

*NOTE: Requires [Heroku Toolbelt](https://toolbelt.heroku.com/).*

*NOTE: All Heroku commands should be run from the root directory of your project.*

* `$ heroku apps:create`
* `$ heroku config:set BUILDPACK_URL=https://github.com/ddollar/heroku-buildpack-multi.git`
* `$ heroku config:set DEBUG=False`
* `$ heroku config:set COMPRESS_ENABLED=True`
* `$ git push heroku master`
* `$ heroku open`
2 changes: 0 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@ dj-database-url==0.3.0
dj-static==0.0.6
django-appconf==0.6
django-compressor==1.4
django-toolbelt==0.0.1
djangorestframework==2.4.4
gunicorn==19.1.1
psycopg2==2.5.4
six==1.8.0
static3==0.5.1
wsgiref==0.1.2
3 changes: 2 additions & 1 deletion static/javascripts/borg.js
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
angular.module('borg', []);
angular
.module('thinkster', []);
2 changes: 1 addition & 1 deletion templates/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html ng-app="borg">
<html ng-app="thinkster">
<head>
<title>thinkster-django-angular-boilerplate</title>

Expand Down
2 changes: 1 addition & 1 deletion templates/javascripts.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
<script type="text/javascript" src="{% static 'bower_components/ngDialog/js/ngDialog.js' %}"></script>
<script type="text/javascript" src="{% static 'lib/snackbarjs/snackbar.min.js' %}"></script>

<script type="text/javascript" src="{% static 'javascripts/borg.js' %}"></script>
<script type="text/javascript" src="{% static 'javascripts/thinkster.js' %}"></script>
{% endcompress %}
4 changes: 2 additions & 2 deletions templates/navbar.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<nav class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#we-are-borg-navbar">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#not-google-plus-nav">
<span class="sr-only">Toggle Navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
Expand All @@ -10,7 +10,7 @@
<a class="navbar-brand" href="/">We Are Borg</a>
</div> <!-- ./navbar-header -->

<div class="collapse navbar-collapse" id="we-are-borg-navbar">
<div class="collapse navbar-collapse" id="not-google-plus-nav">
<ul class="nav navbar-nav pull-right">
{% if user.is_authenticated %}
<li><a href="/+{{ user.username }}">+{{ user.username }}</a></li>
Expand Down

0 comments on commit aef7c9b

Please sign in to comment.