-
Notifications
You must be signed in to change notification settings - Fork 5
Start the program
Yuxuan Yuan edited this page Sep 1, 2022
·
6 revisions
After the installation of the dependencies, users can follow the steps below to start the tool.
-
Open
powershell
orterminal
On Windows
Users need to find or search
Anaconda Powershell Prompt (miniconda3)
and then open it.On Linux/macOS
Users need to find or search
Terminal
and then open it. -
[Optional] If users have set a
PanGraphViewer
environment, users need to activate the env by usingconda activate PanGraphViewer
On Windows
- If users have put
panGraphViewer
on Desktop, users can start the program like
cd C:\Users\%USERNAME%\Desktop\panGraphViewer\panGraphViewerApp
python panGraphViewerApp.py
- If users have put
panGraphViewer
on another drive, users may need to move to the target drive first. For instance, the target drive isD
, users can move to the drive by typingD:
inAnaconda Prompt (miniconda3)
and pressEnter
first and then move to thepanGraphViewerApp
directory to execute by typing
D:
cd panGraphViewer\panGraphViewerApp
python panGraphViewerApp.py
On Linux/macOS
Users may use the command line below in Terminal
to open the software
cd /full/path/to/panGraphViewer/panGraphViewerApp ## Please modify the path based on your ENV
python panGraphViewerApp.py
NOTE:
- On Windows systems, users need to use backslash \ rather than the common slash / to go to the target directory.
- The logging information will show in
Anaconda Prompt (miniconda3)
orTerminal
depending on the system used
On Windows
- If users have put
panGraphViewer
on Desktop, users can start the program like
cd C:\Users\%USERNAME%\Desktop\panGraphViewer\panGraphViewerWeb
run.bat
- If users have put
panGraphViewer
on another drive, users may need to move to the target drive first. For instance, the target drive isD
, users can move to the drive by typingD:
inAnaconda Prompt (miniconda3)
and pressEnter
first and then move to thepanGraphViewerApp
directory to execute by typing
D:
cd panGraphViewer\panGraphViewerWeb
run.bat
On Linux/macOS
Users may use the command line below in Terminal
to open the software
cd /full/path/to/panGraphViewer/panGraphViewerWeb ## Please modify the path based on your ENV
bash run.sh
NOTE:
- Once the words
Starting development server at http://0.0.0.0:8000/
or similar information is showing in theTerminal
orAnaconda Prompt (miniconda3)
, users can open a browser to open the web-based panGraphViewer. For local machine, users can typelocalhost:8000
in the browser to open panGraphViewer. - The test account is
demo
and the password isdemodemo
. - The admin page is something like
http://localhost:8000/admin
depending on the IP used and the initial admin account isadmin
and the password isabcd1234
- Please use the
go back
button provided by the web browser tomove back
rather than directly clicking the corresponding functions in the web page to perform analyses. - We have provided a
docker image
for theweb-based
PanGraphViewer, users would follow the steps to install and run the program