Skip to content

Commit

Permalink
run-devel: Listen on all addresses, not just localhost
Browse files Browse the repository at this point in the history
Belen reported that the "quick start" for developers didn't work for
her. That was because the test instance was running on a different
machine than her main machine. We should totally allow that by not
binding the HTTP server to 127.0.0.1 only.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
  • Loading branch information
Damien Lespiau committed Nov 19, 2015
1 parent 4a564aa commit 73d3a19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/run-devel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
# along with Patchwork; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

PORT=8000
ADDRESS=0.0.0.0:8000
CFG=patchwork.settings.dev-sqlite

cd $(dirname $0)/..
. venv/bin/activate
export DJANGO_SETTINGS_MODULE=$CFG
./manage.py runserver ${PORT}
./manage.py runserver ${ADDRESS}
deactivate

0 comments on commit 73d3a19

Please sign in to comment.