Giter Site home page Giter Site logo

swccverse's Introduction

vircadia-metaverse-v2

Getting Started

Getting up and running is easy.

  1. Make sure you have NodeJS and npm installed.

  2. Install docker (https://docs.docker.com/engine/install)

  3. Go to the project root path

        cd path/to/vircadia-metaverse-v2
    
  4. Install etherium dlt dependencies

    cd ethereum/dlt/
    npm install
    cd ..
    
  5. open conf.d/vircadia_conf.conf file and change server_name

  6. Copy env file

     cp env.default .env 
    
  7. Open .env file

    • Change following env params SERVER_HOST, METAVERSE_SERVER_URL, DEFAULT_ICE_SERVER_URL, DASHBOARD_URL, APP_LOGO, APP_URL, SMTP_USER, SMTP_PASS, SMTP_EMAIL_FROM etc...

    • Blockchain params MINTER_PRIVATE_KEY, ETH_RPC_URL

  8. Run Following docker commands for deploy into docker (Same commands for redeploy)

    docker compose build
    docker compose up -d
    
  9. Run Following command for stop docker (Optional)

    docker compose down
    
  10. Remove docker cached images (Optional)

    docker rmi $(docker images --filter "dangling=true" -q --no-trunc)
    

Testing

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

Scaffolding

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.