-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.bashrc
26 lines (22 loc) · 902 Bytes
/
.bashrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
export PATH=$PATH:/home/api_logic_server/bin
export PYTHONPATH="$PYTHONPATH:/home/api_logic_server"
# echo PYTHONPATH=$PYTHONPATH
ApiLogicServer welcome
osv=$(cat ../../etc/issue)
echo " $ printenv for OS context information -- $osv"
echo " $ ApiLogicServer for API Logic Server information"
echo " "
echo " $ IMPORTANT: cd to your docker volume (e.g., cd /ApiLogicServer)"
echo " "
if [[ -z "${CODESPACES}" ]]; then
LOAD_GIT="Not Codespaces"
else
echo "Now: gh codespace ports visibility 5656:public -c $CODESPACE_NAME"
gh codespace ports visibility 5656:public -c $CODESPACE_NAME
fi
if [[ -z "${APILOGICSERVER_GIT}" ]]; then
LOAD_GIT="No APILOGICSERVER_GIT"
else
echo "Now: sh /home/api_logic_server/bin/run-project.sh ${APILOGICSERVER_GIT} ${APILOGICSERVER_FIXUP}"
sh /home/api_logic_server/bin/run-project.sh ${APILOGICSERVER_GIT} ${APILOGICSERVER_FIXUP}
fi