Skip to content

jianping-grp/b17r

Repository files navigation

Bioactivity-explorer (b17r)

For network issue, the b17r site will not be avaliable during 2019/09/01-2019/09/10 and 2019/09/26-2019/09/28. Sorry for the inconvenience.

Run in docker (recommended)

  1. Download the latest back-end code: git clone https://github.com/jianping-grp/b17r
  2. Download the postgres restore data: google drive or baidu yunpan
  3. Unzip the file (~83GB disk space will be used) cat pgdata.tgz_* | gunzip -c > pgdata
  4. Move the pgdata folder to b17r
  5. Run the docker container docker-compose up -d --build
  6. 🎉 The server is running on [http://0.0.0.0:8000] the back-end api locate here and here
  7. Now it time to setup the front-end

Setup development

database restoration

  1. Download backup file https://pan.baidu.com/s/10BCFeaHg7lLG7ittO3reag
  2. Restore: cat b17r.pgsql.gz* | gunzip | psql -U postgres -d b17r
  3. Custom database setting at settings.py

Server setup (development)

  1. pip install -r requirments
  2. python manage.py makemigrations
  3. python manage.py migrate
  4. python manage.py runserver

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages