Comments (8)
Hi @stuchalk!
It is difficult to understand what you are looking for following your previous issue.
Maybe you could reach out for more details about your motivations
Anyway, to be able to "see" your local LOTUS instance, if everything went well, you should be able to add a port of your choice to docker-compose.yml
and you should be able to access a local version.
services:
lotus-online:
build: '.'
restart: always
image: nponline/lotusweb:latest
container_name: lotus-online
volumes:
- ./data:/data
ports:
- '8092:8092' // This is the port you want to add
And then, after running
docker-compose up -d --no-deps --build lotus-online
If you run
docker ps -a
You should see
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
c43eaf307982 nponline/lotusweb:latest "java -Xmx10000m -Dj…" 3 seconds ago Up 1 second 0.0.0.0:8092->8092/tcp lotus-online
84f068ba15fe mongo:4.0.6 "docker-entrypoint.s…" 10 minutes ago Up 10 minutes 27017/tcp, 0.0.0.0:27019->27019/tcp npoc-mongo-db
And opening 0.0.0.0:8092
in your browser should show you your local LOTUS.
Hope this helps and sorry if your question was misunderstood.
from lotus-web.
from lotus-web.
Sadly, I am not able to reproduce your issue. It might be some platform/network/version specific one we did not encounter yet.
Anyway, I still did not understand your use case entirely so do not hesitate if there is something we can help with!
from lotus-web.
from lotus-web.
Rebuilding the website is probably not the way to go then.
There are multiple ways to access the data locally:
- https://zenodo.org/communities/the-lotus-initiative/?page=1&size=20
- Live on Wikidata (see https://www.wikidata.org/wiki/Wikidata:WikiProject_Chemistry/Natural_products)
- Through PubChem (https://pubchem.ncbi.nlm.nih.gov/source/25132), where you also can download everything locally for later on.
I have difficulties understanding your question about the indices of the DB. Those are to speed up the website later. If you built the MongoDB correctly, you shall be able to "visualize" it through any app of your choice to do so (DataGrip as an example). This is independent from Docker or indices
from lotus-web.
I have looked at each of these resources and I do not see another copy of the database in MongoDB, which is what I would like to use the data. If I am missing something please let me know...
from lotus-web.
You did not miss anything, this is because the mongoDB is only used by the website.
You should be able to fill the DB with the last Zenodo version using https://github.com/Adafede/LOTUSfiller. There is a small R helper to get the huge csv in the correct format to get into the DB. Hope this helps...
from lotus-web.
OK, I try this. Thanks for the help!
from lotus-web.
Related Issues (20)
- Add the ability to flag dubious compound HOT 2
- How to download all the chemical compound and their related data of an organism from LOTUS ? HOT 8
- [Licensing] Add license terms for the logo reuse HOT 5
- [Enhancement] add md5sum of the downloadable files at a predefined url HOT 1
- download files with source organisms HOT 1
- No mongodb data HOT 3
- Question about latest version of the Mongo database HOT 1
- Error occurred on image search HOT 1
- Inconsistency in taxon:compound, name:compound mapping? Example (Q105216729) HOT 4
- Differences between relations available on Wikidata and the LOTUS web interface HOT 2
- Returning all metabolites in a given clade, including possibly missing properties HOT 10
- How to get all compounds from Plantae HOT 3
- Use of NPASS HOT 1
- Chloroquine HOT 2
- SMILES outputs from LOTUS and WikiData HOT 2
- Bad SDF file when downloaded after similarity search HOT 2
- Role of WikiData in LOTUS HOT 4
- Errors in Lotus HOT 2
- where can I find the docker-compose.yml mentioned in the readme file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lotus-web.