Skip to content

NKUlpj/HiBrowser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Start the Browser standalone

Download the source code from our github repo.

backend

Requirements

  • 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.

  1. Enter the backend
  2. conda create --name your_name --file requirements.txt
  3. conda activate your_name
  4. Modify /HicBrowser/setting.py, Change to your IP address or domain name
ALLOWED_HOSTS = ["192.168.31.196"]
  1. python manage.py runsever 0.0.0.0:your_port

frontend

Install nginx.

  1. Enter /frontend
  2. 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
  1. Modify /js/global.js, change to your backend address
export const api_url = 'your_ip:your_port/api';
  1. Start your nginx
# Linux
cd usr/local/nginx/sbin
./nginx

# Windows 
start  nginx.exe

docs

  1. Enter /docs
  2. Open index.html with your browser[eg. Google Chrome]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages