Giter VIP home page Giter VIP logo

entropic-hello-world's Introduction

entropic-hello-world

This is a test run of the entropic federated package manager.

https://github.com/entropic-dev/entropic

https://youtu.be/MO8hZlgK5zc

Steps taken:

  1. Installed ds: https://github.com/entropic-dev/entropic/blob/master/docs/installing/README.md

  2. Ran ds login : this created an ~/.entropicrc. I had to modify mine by prepending the line:

    registry="https://registry.entropic.dev"
  3. Created Package.toml: I then manually copied and pasted the provided Package.toml and prefixed the dependencies with registry., e.g.:

    [dependencies]
    "[email protected]/figgy-pudding" = "^3.5.1"
  4. Looked at dependencies via ds packages, https://registry.entropic.dev/v1/packages, https://registry.entropic.dev/v1/packages/package/[email protected]/chalk

  5. Added the chalk dependency.

  6. Ran ds build: this created a ds dir and a node_modules subdir.

  7. Created program.js.

  8. Ran node program.js; it worked ๐ŸŽ‰

  9. Ran ds publish; it told me I didn't have permissions for entropic.dev, so I modified Package.toml to point to registry.entropic.dev instead. Then ds publish again, it redirected me to create another login token. I did that, then ds publish succeeded and my package now shows up at ds packages ๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰

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.