urbit/README.md

108 lines
3.3 KiB
Markdown
Raw Normal View History

# Urbit
2019-01-15 00:56:41 +03:00
[Urbit](https://urbit.org) is a personal server stack built from scratch. It
has an identity layer (Azimuth), virtual machine (Vere), and operating system
(Arvo).
2019-06-17 15:16:41 +03:00
A running Urbit "ship" is designed to operate with other ships peer-to-peer.
Urbit is a general-purpose, peer-to-peer computer and network.
This repository contains:
- The [Arvo OS][arvo]
- [herb][herb], a tool for Unix control of an Urbit ship
- Source code for [Landscape's web interface][land]
- Source code for the [vere][vere] virtual machine.
For more on the identity layer, see [Azimuth][azim]. To manage your Urbit
identity, use [Bridge][brid].
2016-12-08 23:52:46 +03:00
[arvo]: https://github.com/urbit/urbit/tree/master/pkg/arvo
[azim]: https://github.com/urbit/azimuth
[brid]: https://github.com/urbit/bridge
[herb]: https://github.com/urbit/urbit/tree/master/pkg/herb
[land]: https://github.com/urbit/urbit/tree/master/pkg/interface
[vere]: https://github.com/urbit/urbit/tree/master/pkg/urbit
2017-06-14 04:32:37 +03:00
2019-06-17 15:16:41 +03:00
## Install
To install and run Urbit, please follow the instructions at
2022-10-11 23:39:09 +03:00
[urbit.org/install][start]. You'll be on the live network in a
2019-06-17 15:16:41 +03:00
few minutes.
2015-09-23 00:04:11 +03:00
2019-06-17 15:16:41 +03:00
If you're interested in Urbit development, keep reading.
2015-10-20 21:40:29 +03:00
2022-10-11 23:39:09 +03:00
[start]: https://urbit.org/install/
2015-11-17 06:29:27 +03:00
2019-06-17 15:16:41 +03:00
## Development
2016-06-30 01:21:40 +03:00
[![License][license-badge]][license]
[![Build][build-badge]][build]
[![Nix][nix-badge]][nix]
[![Cachix][cachix-badge]][cachix]
2019-06-17 15:21:02 +03:00
Urbit uses [Nix][nix] to manage builds. On Linux and macOS you can install Nix
via:
2018-02-25 09:15:05 +03:00
```
2020-07-03 06:05:59 +03:00
curl -L https://nixos.org/nix/install | sh
```
You can optionally setup Nix to pull build artefacts from the binary cache
that continuous integration uses. This will improve build times and avoid
unnecessary recompilations of common dependencies. Once Nix has been installed
you can setup Cachix via:
```
nix-env -iA cachix -f https://cachix.org/api/v1/install
cachix use ares
```
2019-06-17 15:16:41 +03:00
The Makefile in the project's root directory contains useful phony targets for
building, installing, testing, and so on. You can use it to avoid dealing with
Nix explicitly.
To build the Urbit virtual machine binary, for example, use:
```
2019-06-17 15:16:41 +03:00
make build
```
2019-06-17 15:16:41 +03:00
The test suite can similarly be run via a simple:
```
make test
```
2018-10-22 22:46:27 +03:00
Note that some of the Makefile targets need access to pills tracked via [git
LFS][git-lfs], so you'll also need to have those available locally:
```
git lfs install
git lfs pull
```
[license]: https://raw.githubusercontent.com/urbit/urbit/master/LICENSE.txt
[license-badge]: https://img.shields.io/badge/license-MIT-blue.svg
[build]: https://github.com/urbit/urbit/actions
[build-badge]: https://github.com/urbit/urbit/workflows/build/badge.svg
[cachix]: https://ares.cachix.org
[cachix-badge]: https://img.shields.io/badge/cachix-ares-purple.svg
[nix]: https://nixos.org
[nix-badge]: https://img.shields.io/badge/builtwith-nix-purple.svg
[git-lfs]: https://git-lfs.github.com
## Contributing
2019-09-02 22:59:21 +03:00
Contributions of any form are more than welcome! Please take a look at our
[contributing guidelines][cont] for details on our git practices, coding
styles, how we manage issues, and so on.
For instructions on contributing to Landscape, see [its][lcont] guidelines.
You might also be interested in joining the [urbit-dev][list] mailing list.
2016-06-30 01:21:40 +03:00
[list]: https://groups.google.com/a/urbit.org/forum/#!forum/dev
[cont]: https://github.com/urbit/urbit/blob/master/CONTRIBUTING.md
[lcont]: https://github.com/urbit/urbit/blob/master/pkg/interface/CONTRIBUTING.md