Download the source code from our github repo.
- python=3.8
- numpy
- django=4.1
- django-cors-headers=3.13.0
- requests=2.28.1
We recommend using conda to create a virtual environment.
Install conda.
- Enter the
backend conda create --name your_name --file requirements.txtconda activate your_name- Modify
/HicBrowser/setting.py, Change to your IP address or domain name
ALLOWED_HOSTS = ["192.168.31.196"]python manage.py runsever 0.0.0.0:your_port
Install nginx.
- Enter
/frontend - Copy all files to the root directory of your nginx
## How to find the root directory
# Linux
cat /usr/local/nginx/conf/nginx.conf
# Windows
## In your downloaded compressed file- Modify
/js/global.js, change to your backend address
export const api_url = 'your_ip:your_port/api';- Start your nginx
# Linux
cd usr/local/nginx/sbin
./nginx
# Windows
start nginx.exe- Enter
/docs - Open
index.htmlwith your browser[eg. Google Chrome]