This repository contains a devcontainer which is useful for developing personium-core.
Firstly, clone all of repositories onto /workspaces
folder in codespaces.
git clone https://github.com/personium/personium-core.git /workspaces/personium-core
git clone https://github.com/personium/personium-plugins.git /workspaces/personium-plugins
git clone https://github.com/personium/personium-plugin-base.git /workspaces/personium-plugin-base
git clone https://github.com/personium/personium-lib-common.git /workspaces/personium-lib-common
git clone https://github.com/personium/personium-lib-es-adapter.git /workspaces/personium-lib-es-adapter
And then, you can open workspace file: personium-core.code-workspace
.
Preparing devcontainer repository and source codes.
git clone https://github.com/personium/personium-core-dev.git
git clone https://github.com/personium/personium-core.git
git clone https://github.com/personium/personium-plugins.git
git clone https://github.com/personium/personium-plugin-base.git
git clone https://github.com/personium/personium-lib-common.git
git clone https://github.com/personium/personium-lib-es-adapter.git
Open personium-core-dev
folder with vscode and edit .devcontainer/.env
for your environment.
cp .devcontainer/.env.example .devcontainer/.env
vim .devcontainer/.env
Please fill your UID
and GID
. And you can put proxy settings.
And then, press Reopen in container
and enjoy coding.
Create maven settings file on /home/devuser/.m2/settings.xml
and edit like below:
<settings>
<proxies>
<proxy>
<id>myproxy</id>
<active>true</active>
<protocol>https</protocol>
<username>username</username>
<password>password</password>
<host>myproxy.example.com</host>
<port>8080</port>
<nonProxyHosts>localhost,127.0.0.1</nonProxyHosts>
</proxy>
</proxies>
</settings>
and relaunch your vscode.