Skip to content

Web application for Rxivist, the web application that makes it easier to find the most talked-about papers on bioRxiv.org

License

Notifications You must be signed in to change notification settings

armish/rxivist_web

 
 

Repository files navigation

rxivist

This repository holds code for the website currently deployed at rxivist.org; it's one half of the Rxivist platform, which also includes an API in a separate repository.

This web application doesn't connect to any database; it only gets data by calling the Rxivist API, which must be running and accessible. (Specify its hostname in config.py, which must be updated for your deployment.)

Deploying

git clone https://github.com/blekhmanlab/rxivist_web.git
cd rxivist_web
docker build . -t rxivist_web:latest
# (The name of the image doesn't matter, but "rxivist_web" seems intuitive.)
docker run -d --rm --name rxweb -p 80:80 rxivist_web:latest

Development

As mentioned above, you will need a functioning Rxivist API for this web application to work. See the API's repo for instructions about how to get the API container running, then follow these commands to start up the web app. It mounts your local copy of the codebase into the container, so you should be able to edit the code on your workstation and see the changes immediately. (Assumptions below: Your API is running in a container called rxapi and yuou want to access the website via localhost:8123.)

git clone https://github.com/blekhmanlab/rxivist_web.git
cd rxivist_web
docker run -it --rm --name rxweb -p 8123:80 -v "$(pwd)":/app --link rxapi python:slim bash
cd app
pip3 install -r requirements.txt
python3 main.py

About

Web application for Rxivist, the web application that makes it easier to find the most talked-about papers on bioRxiv.org

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Smarty 62.9%
  • Python 32.8%
  • CSS 2.7%
  • Other 1.6%