-
Install docker (https://docs.docker.com/engine/install)
-
Go to the project root path.
-
Install Ethereum DLT dependencies (optional)
cd ethereum/dlt/ npm install cd ..
-
Open
conf.d/vircadia_conf.conf
file and change theserver_name
-
Create the
.env
file.cp env.default .env
-
Open the
.env
file and change following:SERVER_HOST, METAVERSE_SERVER_URL, DEFAULT_ICE_SERVER_URL, DASHBOARD_URL, APP_LOGO, APP_URL, SMTP_USER, SMTP_PASS, SMTP_EMAIL_FROM # Handle any other params you want to change # Blockchain params (optional) MINTER_PRIVATE_KEY, ETH_RPC_URL
Run the following commands to deploy with Docker:
docker compose build
docker compose up -d
To stop the containers, run the following command:
docker compose down
To clean up the containers, run the following command:
docker rmi $(docker images --filter "dangling=true" -q --no-trunc)
Run npm test
and all your tests in the test/
directory will be run.
Note: DLT is not a required component for the metaverse.
Spin up a test chain:
npm run localchain
Feathers has a powerful command line interface. Here are a few things it can do:
$ npm install -g @feathersjs/cli # Install Feathers CLI
$ feathers generate service # Generate a new Service
$ feathers generate hook # Generate a new Hook
$ feathers help # Show all commands
```
## Generate Doc
```
npx typedoc expand ./src/services/\*_/_.class.ts
```
```