8000 GitHub - guopei/DouBlind: The frontend (React) and backend (Flask) of DouBlind - A social peer review platform · GitHub
[go: up one dir, main page]

Skip to content
guopeiPublic

About

The frontend (React) and backend (Flask) of DouBlind - A social peer review platform

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

193 Commits

Folders and files

Repository files navigation

Doublind Website Frontend (React) and Backend (Flask)

Democratize peer review and accelarate academic publication.

Install python packages

cd backend
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Start a redis service.

Install redis following this guide.

Start a redis server

redis-server

Validate your redis server by

redis-cli ping
PONG

Enable Remote Hosting

sudo vim /etc/hosts, add 0.0.0.0 doublind.com. vim .env and add

HOST=doublind.com
PORT=80

SSL

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 

Run backend

To run backend, first run python setup.py develop inside backend folder. Then run npm run backend on top-level folder.

Run frontend

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 (optional)

Populate database by running python populate_db.py. This should only be run once as it will erase the current database!!!

Fetch papers (optional)

To fetch papers from arxiv, run python fetch_papers.py.

TODO

Use Nginx and Gunicorn to replace the default server. Following the tutorial here and here

About

The frontend (React) and backend (Flask) of DouBlind - A social peer review platform

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0