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