-
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.
- Loading branch information
Showing
13 changed files
with
328 additions
and
355 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,2 @@ | ||
#! /bin/bash | ||
|
||
clear | ||
|
||
echo """ | ||
============================================== | ||
Running flask API in development mode. | ||
API will be refreshed on code changes. | ||
Logging is to console. | ||
============================================== | ||
""" | ||
|
||
sleep 2 | ||
|
||
nodemon -w 'sbn_survey_image_service/**' -e py,yaml --exec python3 -m sbn_survey_image_service.api.app | ||
_sbnsis start --dev |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/bash | ||
./.venv/bin/python3 -m sbn_survey_image_service.scripts.sbnsis $* |
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,6 +1,7 @@ | ||
"*.log" { | ||
rotate 32 | ||
ifempty | ||
createolddir 770 | ||
createolddir 660 | ||
olddir old-logs | ||
missingok | ||
} |
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,11 +1,11 @@ | ||
# Licensed under a 3-clause BSD style license - see LICENSE.rst | ||
"""SBN Survey Image Service""" | ||
from . import models | ||
from . import services | ||
from . import env | ||
from . import exceptions | ||
|
||
# make cache directory, as needed | ||
# make cache directory set umask | ||
from . import exceptions | ||
from . import env | ||
from . import services | ||
from . import models | ||
import os | ||
os.system(f'mkdir -p {env.ENV.SBNSIS_CUTOUT_CACHE}') | ||
del os |
Oops, something went wrong.