Democratize peer review and accelarate academic publication.
cd backend
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
Install redis following this guide.
Start a redis server
redis-server
Validate your redis server by
redis-cli ping
PONG
sudo vim /etc/hosts, add 0.0.0.0 doublind.com. vim .env and add
HOST=doublind.com
PORT=80
Install letsencrypt following instructions here.
Add the following to .env
HTTPS=true
SSL_CRT_FILE=/etc/letsencrypt/live/doublind.com/fullchain.pem
SSL_KEY_FILE=/etc/letsencrypt/live/doublind.com/privkey.pem
To run backend, first run python setup.py develop inside backend folder. Then run npm run backend on top-level folder.
To run frontend, run npm install first to install all node modules. May need npm update in the future.
Run npm start at top-level folder.
Populate database by running python populate_db.py. This should only be run once as it will erase the current database!!!
To fetch papers from arxiv, run python fetch_papers.py.
Use Nginx and Gunicorn to replace the default server. Following the tutorial here and here