Bit is a distributed code component manager.
Increase reusability: Designed for fast and easy extraction and reuse of code
components without creating duplications or publishing packages..
Simply and predictable: Bit uses features such as simple inline editing,
strict minor versioning and test based updating to make modifying and maintaining
is super simple.
Discoverable: Bit uses a functionality-based search and a simple yet smart
scoping mechanism to easily find and reuse components created by you or by others.
Create a virtual set of reusable code components to be used as building blocks across your repositories and applications. To get started, check out the installation.instructions in the
Run remote scope with latest bit version:
docker run --rm --name bit -d -P --volume ~/.ssh/id_rsa.pub:/tmp/id_rsa.pub bitteam/bit-docker
developing bit and testing:
docker run --rm --name bit -d -P --volume <path to bit code>:/bit-bin --volume ~/.ssh/id_rsa.pub:/tmp/id_rsa.pub --env 'DEVELOPMENT=true' bitteam/bit-docker
Get working port of docker container:
docker port bit 22
Then use port to add remote scope
bit remote add ssh://root@localhost:<port>:/tmp/scope -g
docker kill bit
docker build . -t bit