Skip to content

Notes about deployments #148

@ibc

Description

@ibc

Some ideas and TODO items to improve our current poor deployment tools.

npm link

NOTE: Totally undocumented, 99% probably it won't work.

  • In server/.gitignore add /.npmrc-custom.
  • In the deploy host create .npmrc-custom file in demo server folder with this content:
    mediasoup=/home/xxxxx/src/mediasoup-xxxx
    # or maybe this (undocumented):
    link-mediasoup=link:/home/xxxxx/src/mediasoup-xxxx
  • Then run NPM_CONFIG_USERCONFIG=./.npmrc-custom npm ci and maybe it uses mediasoup from /home/xxxxx/src/mediasoup-xxxx and doesn't modify package.json or package-lock.json.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions