Skip to content

Commit

Permalink
Merge pull request #162 from hdzierz/develop
Browse files Browse the repository at this point in the history
update install.sh to new django migration system
  • Loading branch information
crucialfelix committed Mar 15, 2016
2 parents 3a4d7b3 + cca0cd9 commit 622b234
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions example/install.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash

# break on any error
set -e
Expand All @@ -22,7 +22,11 @@ if [ ! -d ./ajax_select ]; then
fi

echo "Creating a sqllite database:"
./manage.py syncdb
./manage.py migrate

echo "Create example migrations"
./manage.py makemigrations example
./manage.py migrate example

echo "\nto activate the virtualenv:\nsource AJAXSELECTS/bin/activate"

Expand Down

0 comments on commit 622b234

Please sign in to comment.