Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Commit

Permalink
use utf-8 in docker-created db
Browse files Browse the repository at this point in the history
  • Loading branch information
Allen Short committed Feb 11, 2015
1 parent fbe46ca commit 5848835
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/docker_run.sh
Expand Up @@ -7,7 +7,7 @@ mysqladmin -u root --host mysql_1 --silent --wait=30 ping || exit 1
mysql -u root --host mysql_1 -e 'use zamboni;'
if [ $? -ne 0 ]; then
echo "Zamboni database doesn't exist. Let's create it"
mysql -u root --host mysql_1 -e 'create database zamboni'
mysql -u root --host mysql_1 -e 'create database zamboni default character set=utf8 collate=utf8_general_ci;'
echo "Syncing db..."
python manage.py syncdb --noinput
echo "Initialising data..."
Expand Down

0 comments on commit 5848835

Please sign in to comment.