Skip to content

OpenSourceNematodeDrugbase/opensourcenematodedrugbase.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description ONDB Project Website

https://opensourcenematodedrugbase.github.io/

A platform to tackle neglected diseases caused by parasitic worms (nematodes).

A Quintin Hogg Trust funded project that aims to enable the discovery of medicines for neglected diseases caused by nematodes (parasitic worms)

Progress

✅Website Information

✅Mobile Format

✅Contact Information

Work in Progress

Database (in March development branch)

Blog (in March development branch)

Contribute

Would you like to help develop this project, fork our repository to get started.

How to run the website on your machine (For Windows)

Before starting you will need Node.js or higher so that Vue.js can run

Step 1 Download your Fork

image
Using Github Desktop is recommended for editing repositories (Example Below) image

Step 2 Extract the Zip file (You can ignore if downloading if using Github Desktop)

Right click on the folder and hit Extract which uncompresses the file and turns it into a navigable folder

Step 3 Open the command line

Open the Command Prompt image
Using the command Prompt navigate to your Downloads Folder first

cd Downloads 

Then navigate to the repository (Example of how it may look)

cd opensourcenematodedrugbase.github.io-main\opensourcenematodedrugbase.github.io-main 

Once you are in the repository you can start to run the website by navigating to the router folder and installing the packages
Untitled

cd osnd-website\src\router
npm install 
npm run dev 

Step 4 Temporarily Disable Firebase to Run Frontend Locally (Optional)

Before you can run the frontend without errors, you need to temporarily disable Firebase in some files. This allows the app to load even if Firebase isn’t configured on your machine.

Files to update:

Vue files (.vue)

UserDashboard.vue
DrugTargetEntry.vue
LoginFormComponent.vue
SignUpFormComponent.vue
DatabaseHome.vue
DrugTargetDataView.vue
DrugTargetEntryForm.vue
LiteratureDataView.vue
ProteinDataView.vue\

JavaScript files (.js)

changeScreenSize.js
main.js

Instructions:

Comment out Firebase imports at the top of each file. This includes anything imported from firebase/* or vuefire.

/* import { getAuth, onAuthStateChanged } from 'firebase/auth';
import { getFirestore, doc, getDoc, Timestamp } from 'firebase/firestore'; */

Comment out or mock Firebase-dependent code inside setup(), methods, or other functions that use auth, firestore, database, dbRef, VueFire, signInWithEmailAndPassword, or similar. Wrap the code in /* ... */.

Replace dynamic Firebase IDs in router paths or methods with placeholders. For example:

// Original:
router.push({ path: `/drug-target-entry/${entry.firebaseId}` });
// Temporary:
router.push({ path: `/drug-target-entry/demo-id` });

Keep all non-Firebase logic intact, including template code, computed properties, and router navigation, so the app still runs.

After doing this, you should be able to run:

npm install
npm run dev

and see the frontend without Firebase errors.

Final Step

Open the link provided in your preferred browser
image

Need help?

Feel free to ask any questions by opening up a new Q&A discussion through our Discussions page
Contact [email protected] for more information.

About

a platform to tackle neglected diseases caused by parasitic worms (nematodes)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 6