Micronauts web application that serves meta-information about Terasology. It is available for in-game use in JSON format and in HTML format for web browsers.
The server is available at http://meta.terasology.org
- Save and provide information about Terasology modules
- Receive and provide information about Terasology servers (Looking for game)
- Using https://db-ip.com/ for providing additional info about servers.
- Use PostgresDB via Jooq for persistence
- Use Micronauts for core Frameworks
Gradle-way:
- Clone
- Go to Project Dir
- Set environment variable
MICRONAUT_ENVIRONMENTStodev(local h2 database) ./gradlew runat Linux/Macos orgradlew runat Windows- found at logs entry like
[main] INFO io.micronaut.runtime.Micronaut - Startup completed in 624ms. Server Running: http://localhost:39195 - Go To url described at logs with your browser
Docker-way:
- Clone
- Go To Project Dir
- Run
docker build . -t test-meta-server - Run
docker run --env "MICRONAUT_ENVIRONMENTS=dev" test-meta-server
Docker:
- Clone repository
- Go To project directory
docker build . -t <tag>docker pushimage whatever you want
You can setup what you want with Micronaut's configs: Common (ENVIRONMENT_VARIABLES):
MICRONAUT_SERVER_PORT - port (example - 80)
DATASOURCES_DEFAULT_URL - url to PG database (example - postgres://name:pw@host:port/database
META_SERVER_DBIP_API_KEY=<get one from db-ip.com>
META_SERVER_EDIT_SECRET=<a password only known for admins with write access>
The lookup service by DB-IP.com is used to retrieve additional information on the servers.
The flag icons are from famfamfam.
This software is licensed under the Apache 2.0 License.