Skip to content

Commit

Permalink
removed imhome hard-coded name from code
Browse files Browse the repository at this point in the history
  • Loading branch information
imkevinxu committed Sep 18, 2014
1 parent 6b2c169 commit b956de1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions Gruntfile.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ module.exports = (grunt) ->
# https://github.com/firstandthird/load-grunt-config
require('load-grunt-config') grunt,
data:
name: name
paths: paths

# Times how long tasks take
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Welcome to imHome's documentation!
Welcome to {{ project_name }}'s documentation!
==============================================

[Installation](installation.md)
Expand Down
2 changes: 1 addition & 1 deletion grunt/replace.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ module.exports =
src: ['<%= paths.css %>/build/*.css.map']
overwrite: true
replacements: [
from: 'imhome/static'
from: '<%= name %>/static'
to: '/static'
]
4 changes: 2 additions & 2 deletions project_name/config/settings/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@
}

# Separate buckets for static files and media files
AWS_STATIC_STORAGE_BUCKET_NAME = 'imhome-static'
AWS_MEDIA_STORAGE_BUCKET_NAME = 'imhome-media'
AWS_STATIC_STORAGE_BUCKET_NAME = '{{ project_name }}-static'
AWS_MEDIA_STORAGE_BUCKET_NAME = '{{ project_name }}-media'
S3_STATIC_URL = '//%s.s3.amazonaws.com/' % AWS_STATIC_STORAGE_BUCKET_NAME
S3_MEDIA_URL = '//%s.s3.amazonaws.com/' % AWS_MEDIA_STORAGE_BUCKET_NAME

Expand Down

0 comments on commit b956de1

Please sign in to comment.