Welcome to our wiki
The EM-Glossary provides terminology for electron microscopy which was harmonised in a community process. Please see our community repository for information about our process, or on how you can contribute.
For technical adoption the EM-Glossary is provided as a OWL representation (emg.owl) in our EM-Glossary-OWL repository. Information about the assembly, release cycle and suggestions for technical adoption can be found in the wiki there.
For convenient exploration, we offer the EM-Glossary Web Explorer. The code that is deployed to offer this service is maintained in this repository. Here we provide information on which technologies are used, dependencies, installation process of that web-resource.
Directory Structures
📁 em-glossary
📁 backend
...
📁 frontend
...
📄 .gitignore
📄 LICENSE
📄 nginx.conf
📄 CITATION.cff
📄 codemeta.json
📄 docker-compose.yml
📄 README.md
You can see a full view of dictionary structure here.
Technologies Used
- Flask (Backend)
- Next.js (Frontend)
- MongoDB (Database)
- Nginx (Web Server)
- Docker (Containerization Platform)
- Docker Compose (Multi Docker Container Manager)
Prerequisites
Installation
- Clone the repository:
git clone https://codebase.helmholtz.cloud/em_glossary/em_glossary_web.git
- Build and start the Docker containers:
docker-compose up --build
This command will build the Docker images and start the containers.
- You can access the complete running system at
http://localhost
, and also access the Flask application athttp://localhost:5000
and the Next.js application athttp://localhost:3000
if you needed.
Configuration
- Next.js:
- Next.js application configuration can be updated in
next.config.js
.
- Next.js application configuration can be updated in
- MongoDB:
- MongoDB connection details can be updated in
docker-compose.yml
.
- MongoDB connection details can be updated in
Usage
- To start the Docker containers:
docker-compose up
- To stop the Docker containers:
docker-compose down