-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
write python manage.py migrate to run.sh
- Loading branch information
1 parent
4586ca5
commit 26b770f
Showing
2 changed files
with
1 addition
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |