SciPost Code Repository
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SciPost
Manage
Activity
Members
Labels
Plan
Issues
119
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SciPost
SciPost
Commits
4d8bb7db
Commit
4d8bb7db
authored
1 year ago
by
George Katsikas
Browse files
Options
Downloads
Patches
Plain Diff
update staging configuration
parent
f3170934
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cronjobs/cronjob_staging_eachminute.sh
+4
-4
4 additions, 4 deletions
cronjobs/cronjob_staging_eachminute.sh
scipost_django/SciPost_v1/settings/staging_do1.py
+3
-0
3 additions, 0 deletions
scipost_django/SciPost_v1/settings/staging_do1.py
with
7 additions
and
4 deletions
cronjobs/cronjob_staging_eachminute.sh
+
4
−
4
View file @
4d8bb7db
...
...
@@ -6,7 +6,7 @@ cd /home/scipost/SciPost/scipost_django
source
../venv3.8/bin/activate
# Mails waiting in the database
#
python manage.py send_mails
python manage.py mailgun_get_events
--nr_minutes
=
2
--settings
=
SciPost_v1.settings.staging_do1
python manage.py mailgun_get_stored_messages
--settings
=
SciPost_v1.settings.staging_do1
python manage.py mailgun_send_messages
--settings
=
SciPost_v1.settings.staging_do1
python manage.py send_mails
#
python manage.py mailgun_get_events --nr_minutes=2 --settings=SciPost_v1.settings.staging_do1
#
python manage.py mailgun_get_stored_messages --settings=SciPost_v1.settings.staging_do1
#
python manage.py mailgun_send_messages --settings=SciPost_v1.settings.staging_do1
This diff is collapsed.
Click to expand it.
scipost_django/SciPost_v1/settings/staging_do1.py
+
3
−
0
View file @
4d8bb7db
...
...
@@ -24,6 +24,9 @@ WEBPACK_LOADER["DEFAULT"][
LOGGING
[
"
handlers
"
][
"
scipost_file_arxiv
"
][
"
filename
"
]
=
"
/home/scipost/SciPost/local_files/logs/arxiv.log
"
LOGGING
[
"
handlers
"
][
"
scipost_file_chemrxiv
"
][
"
filename
"
]
=
"
/home/scipost/SciPost/local_files/logs/chemrxiv.log
"
LOGGING
[
"
handlers
"
][
"
scipost_file_doi
"
][
"
filename
"
]
=
"
/home/scipost/SciPost/local_files/logs/doi.log
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment