Giter Site home page Giter Site logo

ludium-2023-collegium-bos-gateway's Introduction

NEAR Discovery (BOS)

Setup & Development

This repo requires pnpm.

Initialize repo:

pnpm i

Start development version:

pnpm dev

Local Component Development

  1. Run an instance of a component server like near/bos-loader which serves component code in the following format

    {
      "components": {
        "<component path 1>": {
          "code": "<component 1 code>"
        },
        "<component path 2>": {
          "code": "<component 2 code>"
        }
      }
    }

    this will be used as a redirectMap in ViewPage

  2. Open the /flags route of your viewer and set the BOS Loader URL e.g. http://127.0.0.1:3030

Note: there is no hot reload, you must refresh the page to see component changes

Local VM Development

This section needs testing since switch to pnpm

If you need to make changes to the VM and test locally, you can easily link your local copy of the VM:

  1. Clone the VM repo as a sibling of near-discovery:
git clone [email protected]:NearSocial/VM.git

Folder Structure:

/near-discovery
/VM
  1. Run pnpm link ../VM

  2. Any time you make changes to the VM, run pnpm build inside the VM project in order for the viewer project to pick up the changes

ludium-2023-collegium-bos-gateway's People

Contributors

calebjacob avatar charleslavon avatar marcinbodnar avatar mpeterdev avatar patrick1904 avatar gutsyphilip avatar shelegdmitriy avatar roshaans avatar maximushaximus avatar milenakrawczyk avatar benkurrek avatar thisisjoshford avatar esaminu avatar hcho112 avatar chaotictempest avatar harissqa avatar jon-lewis avatar 0xhsy avatar itegulov avatar ilblackdragon avatar frolvanya avatar jakestutzman avatar agileurbanite avatar zavodil avatar andy-haynes avatar petarvujovic98 avatar github-actions[bot] avatar

Watchers

괜찮아? avatar

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.