A project devoted to helping academics and researchers provide robust citations and mitigate link rot.
Link rot is an established phenomenon that affects everyone who uses the internet. Researchers looking at individual subjects have recently addressed the extent of link rot’s influence on scholarly publications. One recent study found that 36% of all links in research articles were broken. 37% of DOIs, once seen as a tool to prevent link rot, were broken (Miller, 2022).
Rotting Research allows academics and researchers to upload their work and check the reliability of their citations. It extracts all of the links from the document and then checks to see if the link is accessible to the public.
Check out our website at https://rottingresearch.org.
-
Local development works best with Python 3.10+ versions.
-
Make sure you have Python and the latest version of pip installed.
python3 -m pip install --upgrade pip
-
Download Project
git clone https://github.com/rottingresearch/rottingresearch
-
Navigate to the root folder.
-
Install Requirements
pip3 install -r requirements.txt
-
If using Windows, open app.py and set app.config['UPLOAD_FOLDER'] to a valid temporary folder.
-
Set APP_SECRET_KEY environment variable before running the python script.
Linux:
export APP_SECRET_KEY="random"
Windows:
setx APP_SECRET_KEY "random"
-
Set ENV environment variable
Linux:
export ENV="DEV"
Windows:
setx ENV "DEV"
-
Run redis
redis-server
-
Set REDIS_URL environment variable before running the python script
Linux:
export REDIS_URL="redis://localhost:6379"
Windows:
setx REDIS_URL "redis://localhost:6379"
-
Run Flask App
python3 app.py
-
Run Celery worker
celery -A app:celery_app worker -B
-
Open 127.0.0.1:8080 on your browser.
Docker-Compose is being used for local development mainly due to its ease of use and development.
- Set the
APP_SECRET_KEY
docker-compose up --build -d
to run the container in detached mode.
The application is running on port 8080
. Docker volume is used so whenever changes are made they are reflected immediately. To view the container logs you can use docker logs -f rottingresearch
. The f
flag is used for following the logs.
- Clone repo
git clone https://github.com/rottingresearch/rottingresearch.git
- Build the docker image
docker build --tag rottingresearch .
- Run image
docker run -d -p 8080:8080 rottingresearch
- Coming Soon
The App is hosted at https://rottingresearch.org/ during development.
For our code of conduct, please visit our Code of Conduct page.
This program is licensed with a GPLv3 License.