Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
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
Service Desk
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 JiHu GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Chenhao Ma
core
Commits
1d84491c
Commit
1d84491c
authored
9 years ago
by
Kevin S. Hahn
Browse files
Options
Downloads
Patches
Plain Diff
adds apps_path to api launch parameters
parent
f6952d9d
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
api.py
+1
-0
1 addition, 0 deletions
api.py
api.wsgi
+1
-0
1 addition, 0 deletions
api.wsgi
with
2 additions
and
0 deletions
api.py
+
1
−
0
View file @
1d84491c
...
...
@@ -132,6 +132,7 @@ if __name__ == '__main__':
arg_parser
.
add_argument
(
'
--port
'
,
default
=
'
8080
'
,
help
=
'
TCP port to listen on [8080]
'
)
arg_parser
.
add_argument
(
'
--db_uri
'
,
help
=
'
SciTran DB URI
'
,
default
=
'
mongodb://localhost/scitran
'
)
arg_parser
.
add_argument
(
'
--data_path
'
,
help
=
'
path to storage area
'
,
required
=
True
)
arg_parser
.
add_argument
(
'
--apps_path
'
,
help
=
'
path to apps storage
'
,
required
=
True
)
arg_parser
.
add_argument
(
'
--log_level
'
,
help
=
'
log level [info]
'
,
default
=
'
info
'
)
arg_parser
.
add_argument
(
'
--ssl_cert
'
,
help
=
'
path to SSL certificate file, containing private key and certificate chain
'
,
required
=
True
)
arg_parser
.
add_argument
(
'
--site_id
'
,
help
=
'
site ID for Scitran Central [local]
'
,
default
=
'
local
'
)
...
...
This diff is collapsed.
Click to expand it.
api.wsgi
+
1
−
0
View file @
1d84491c
...
...
@@ -17,6 +17,7 @@ os.umask(0o022)
ap = argparse.ArgumentParser()
ap.add_argument('--db_uri', help='SciTran DB URI', required=True)
ap.add_argument('--data_path', help='path to storage area', required=True)
ap.add_argument('--apps_path', help='path to apps storage', required=True)
ap.add_argument('--ssl_cert', help='path to SSL certificate file, containing private key and certificate chain', required=True)
ap.add_argument('--api_uri', help='api uri, with https:// prefix')
ap.add_argument('--site_id', help='site ID for Scitran Central [local]', default='local')
...
...
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