-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from ginkgobioworks/fix-build-assets
Upgrade webassets to deal with Django upgrade
- Loading branch information
Showing
11 changed files
with
127 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,3 +62,6 @@ test.db* | |
|
||
# don't check in NCBI data | ||
ncbi/ | ||
|
||
# compiled static files | ||
static/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ services: | |
MYSQL_DATABASE: edge_dev | ||
volumes: | ||
- edge-db-data:/var/lib/mysql | ||
|
||
rabbit: | ||
image: rabbitmq | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
db.sqlite3* | ||
test.db* | ||
.webassets-cache | ||
edge/static/edge/edge.css | ||
edge/static/edge/edge.js | ||
edge/static/edge/edge.min.js | ||
edge/static/edge/edge_jst.js | ||
edge/static/edge/assets/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,17 @@ | ||
from django_assets import Bundle, register | ||
|
||
js = Bundle('edge/src/js/*.js', filters='jsmin', output='edge/static/edge/edge.min.js') | ||
js = Bundle('edge/static/edge/src/js/*.js', | ||
output='edge/static/edge/assets/edge.js') | ||
register('edge_js', js) | ||
|
||
js = Bundle('edge/src/js/*.js', output='edge/static/edge/edge.js') | ||
register('edge', js) | ||
jsmin = Bundle(js, filters='jsmin', | ||
output='edge/static/edge/assets/edge.min.js') | ||
register('edge_jsmin', jsmin) | ||
|
||
css = Bundle('edge/src/css/app.css', output='edge/static/edge/edge.css') | ||
css = Bundle('edge/static/edge/src/css/app.css', | ||
output='edge/static/edge/assets/edge.css') | ||
register('edge_css', css) | ||
|
||
jst = Bundle('edge/src/partials/*.html', filters='jst', output='edge/static/edge/edge_jst.js') | ||
jst = Bundle('edge/static/edge/src/partials/*.html', filters='jst', | ||
output='edge/static/edge/assets/edge_jst.js') | ||
register('edge_jst', jst) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters