Skip to content

Commit

Permalink
write python manage.py migrate to run.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
david30907d committed Aug 8, 2017
1 parent 4586ca5 commit 26b770f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,5 @@ services:
install:
- pip install -r requirements.txt
script:
- python calApi/manage.py migrate;
- bash run.sh
- cd calApi; python manage.py test;
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
git clone https://github.com/Stufinite/CampassCrawler.git;
pip install -r CampassCrawler/requirements.txt
cd CampassCrawler/UCrawler; scrapy crawl NSYSU -o ../../calApi/NSYSU.json -t json; cd -
cd calApi; pwd; python manage.py buildCourse NSYSU.json NSYSU 1061
cd calApi; pwd; python manage.py migrate; python manage.py buildCourse NSYSU.json NSYSU 1061

0 comments on commit 26b770f

Please sign in to comment.