-
Notifications
You must be signed in to change notification settings - Fork 231
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
take out celery beat; refactor spam.py;added directory locking when i…
…ndexing
- Loading branch information
Showing
22 changed files
with
217 additions
and
139 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
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 was deleted.
Oops, something went wrong.
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
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 was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/bash | ||
|
||
# Default database backup script. | ||
|
||
# Stop on errors. | ||
set -ue | ||
|
||
# Load the conda commands. | ||
source ~/miniconda3/etc/profile.d/conda.sh | ||
|
||
export POSTGRES_HOST=/var/run/postgresql | ||
|
||
# Activate the conda environemnt. | ||
conda activate engine | ||
|
||
USER=www | ||
|
||
# Set the configuration module. | ||
export DJANGO_SETTINGS_MODULE=conf.run.site_settings | ||
|
||
# Backup location | ||
mkdir -p export/backup | ||
|
||
# pg_dump the database | ||
python manage.py tasks --action pg_dump --outdir export/backup --user ${USER} |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/bash | ||
|
||
# Default database backup script. | ||
|
||
# Stop on errors. | ||
set -ue | ||
|
||
# Load the conda commands. | ||
source ~/miniconda3/etc/profile.d/conda.sh | ||
|
||
export POSTGRES_HOST=/var/run/postgresql | ||
|
||
# Activate the conda environemnt. | ||
conda activate engine | ||
|
||
USER=www | ||
|
||
# Set the configuration module. | ||
export DJANGO_SETTINGS_MODULE=conf.run.site_settings | ||
|
||
# Backup location | ||
mkdir -p export/backup | ||
|
||
# pg_dump the database | ||
python manage.py tasks --action pg_dump --outdir export/backup --user ${USER} --hourly |
File renamed without changes.
Oops, something went wrong.