Update README

[?]
May 1, 2020, 7:43 PM
KH55FNTFS6GSZBNAESRF64EFNDC6V2DKDN6BE3YDLK7MHCKJX5BAC

Dependencies

  • [2] T5JJSEWK README.md: Link to the latest manual
  • [3] 5LVTBYXA README: fix manual links, fixes #401
  • [4] LRU7K5MW Update build images to be more friendly to users with color blindness.
  • [5] E63Q3L3J Build from source remark in README.md
  • [6] 2IJM73DA Fix link syntax in README.md (#511)
  • [7] 2K7ZAIY5 README.md: Point to the manual
  • [*] NVMDS7GE Add README.md
  • [*] CLXEECMF * Start putting build results in a database.

Change contents

  • edit in README.md at line 2
    [3.8]
    [3.0]
    Hydra is a [Continuous Integration](https://en.wikipedia.org/wiki/Continuous_integration) service for [Nix](https://nixos.org/nix) based projects.
    ## Installation And Setup
    **Note**: The instructions provided below are intended to enable new users to get a simple, local installation up and running. They are by no means sufficient for running a production server, let alone a public instance.
    ### Enabling The Service
    Running Hydra is currently only supported on NixOS. The [hydra module](https://github.com/NixOS/nixpkgs/blob/release-20.03/nixos/modules/services/continuous-integration/hydra/default.nix) allows for an easy setup. The following configuration can be used for a simple setup that performs all builds on _localhost_ (Please refer to the [Options page](https://nixos.org/nixos/options.html#services.hydra) for all available options):
    ```nix
    {
    services.hydra = {
    enable = true;
    hydraURL = "http://localhost:3000";
    notificationSender = "hydra@localhost";
    buildMachinesFiles = [];
    useSubstitutes = true;
    };
    }
    ```
    ### Creating An Admin User
    Once the Hydra service has been configured as above and activate you should already be able to access the UI interface at the specified URL. However some actions require an admin user which has to be created first:
    ```
    $ su - hydra
    $ hydra-create-user <USER> --full-name '<NAME>' \
    --email-address '<EMAIL>' --password <PASSWORD> --role admin
    ```
    Afterwards you should be able to log by clicking on "_Sign In_" on the top right of the web interface using the credentials specified by `hydra-crate-user`. Once you are logged in you can click "_Admin -> Create Project_" to configure your first project.
  • replacement in README.md at line 34
    [3.1][2.0:199]()
    Hydra is a continuous integration system based on the Nix package
    manager. For more information, see the
    [manual](https://hydra.nixos.org/job/hydra/master/manual/latest/download-by-type/doc/manual).
    [3.1]
    [3.62]
    ## Building And Developing
    ### Building Hydra
    You can build Hydra via `nix-build` using the provided [default.nix](./default.nix):
    ```
    $ nix-build
    ```
    ### Development Environment
    You can use the provided shell.nix to get a working development environment:
    ```
    $ nix-shell
    $ ./bootstrap
    $ configurePhase # NOTE: note ./configure
    $ make
    ```
    ## Additional Resources
  • replacement in README.md at line 55
    [3.63][3.0:20](),[3.20][2.200:321]()
    For development see
    [hacking instructions](https://hydra.nixos.org/job/hydra/master/manual/latest/download-by-type/doc/manual#chap-hacking).
    [3.63]
    [3.0]
    - [Hydra User's Guide](https://nixos.org/hydra/manual/)
    - [Hydra on the NixOS Wiki](https://nixos.wiki/wiki/Hydra)
    - [hydra-cli](https://github.com/nlewo/hydra-cli)
    - [Peter Simons - Hydra: Setting up your own build farm (NixOS)](https://www.youtube.com/watch?v=RXV0Y5Bn-QQ)
  • replacement in README.md at line 60
    [3.1][3.1:5]()
    ---
    [3.1]
    [3.5]
    ## License
    Hydra is licensed under [GPL-3.0](./COPYING)
  • file addition: hydra.png (----------)
    [10.2]