Skip to content
This repository has been archived by the owner on Sep 21, 2020. It is now read-only.

Commit

Permalink
move database migration to procfile
Browse files Browse the repository at this point in the history
  • Loading branch information
drkane committed Apr 24, 2020
1 parent 241ca20 commit 2c91a73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
web: echo "Ready to scrape"
cron: sleep infinity
cron: sleep infinity
release: alembic upgrade head
1 change: 0 additions & 1 deletion crawl_all.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
alembic upgrade head
for i in $(scrapy list);
do scrapy crawl "$i" -s DB_URI="$DB_URI";
done;

0 comments on commit 2c91a73

Please sign in to comment.