Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sitemule
Public
workshops
open source on IBM i
FastAPI
Commits
af5553bb
Commit
af5553bb
authored
3 years ago
by
Jens Melgard Churchill
Browse files
Options
Download
Plain Diff
Merge branch 'Step-1' into Step-2
parents
bacaa9f0
1eb7b743
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
start.sh
+1
-4
start.sh
with
1 addition
and
4 deletions
+1
-4
start.sh
+
1
-
4
View file @
af5553bb
#!/usr/bin/env bash
set
-e
PYTHONPATH
=
"/QOpenSys/pkgs/lib/python39.zip:/QOpenSys/pkgs/lib/python3.9:/QOpenSys/pkgs/lib/python3.9/lib-dynload:/home/
$USER
/fastapi/.venv/lib/python3.9/site-packages:/QOpenSys/pkgs/lib/python3.9/site-packages"
export
PYTHONPATH
if
!
command
hypercorn &>/dev/null
;
then
if
[
!
-d
".venv"
]
;
then
echo
"Creating virtual environment"
rm
-f
".cur_branch"
python
-m
venv .venv
python
-m
venv
--system-site-packages
.venv
fi
if
[
-z
"
$VIRTUAL_ENV
"
]
;
then
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help