26 lines
No EOL
902 B
Markdown
26 lines
No EOL
902 B
Markdown
environment
|
|
-----------
|
|
|
|
```shell
|
|
docker network create scrow 2>/dev/null || true
|
|
docker run -d --network scrow -it --rm --name mongo -p 27017:27017 mongo
|
|
docker run -d --network scrow -e ME_CONFIG_MONGODB_SERVER=mongo -e ME_CONFIG_MONGODB_AUTH_PASSWORD='' -e ME_CONFIG_MONGODB_AUTH_USERNAME='' -e ME_CONFIG_BASICAUTH_USERNAME='a' -e ME_CONFIG_BASICAUTH_PASSWORD=1234 --name mongo-express -p 8081:8081 mongo-express
|
|
```
|
|
|
|
acce**ss the mongo-db web interface at http://localhost:8081; username `a`, password `1234`**
|
|
|
|
modules
|
|
-------
|
|
|
|
* APIs
|
|
----
|
|
|
|
* core-api contains api for all java development
|
|
* core-bukkit-api contains api for bukkit development
|
|
* depends on core-api
|
|
|
|
* implementations
|
|
---------------
|
|
the `-impl` suffix indicates that this module implements the API with the same prefix.
|
|
So `core-impl` implements `core-api`.
|
|
* core-bukkit-impl is a spigot plugin. It shades core-impl. |