Skip to content

Commit

Permalink
Fix issues associated with broken bower config
Browse files Browse the repository at this point in the history
Also add a run-dev.sh script to ensure DB is ready
  • Loading branch information
pmac committed Oct 23, 2018
1 parent 601444e commit 383b126
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
7 changes: 7 additions & 0 deletions bin/run-dev.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

set -ex

urlwait

python manage.py runserver 0.0.0.0:8000
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "Kitsune",
"name": "kitsune",
"description": "Platform for Firefox Help",
"homepage": "http://support.mozilla.org/",
"private": true,
Expand Down
3 changes: 2 additions & 1 deletion docker/composefiles/dev.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
version: '3.4'
services:
web:
command: ./manage.py runserver 0.0.0.0:8000
command: ./bin/run-dev.sh
env_file: .env
volumes:
- ./:/app:cached

Expand Down

0 comments on commit 383b126

Please sign in to comment.