Commit f1798073 by Bruno Bzeznik

Update README.md

parent 32d843da
......@@ -13,8 +13,8 @@ The result is a running nixos-container with a devel/test phyloalps application
Usage:
------
* Edit the file `/etc/nixos/configuration.nix` of your NixOS host (as root):
* Add the container configuration as an imported file:
* Into the file `/etc/nixos/configuration.nix` of your NixOS host (as root), add the container configuration as an imported file:
```
imports =
[ # Include the results of the hardware scan.
......@@ -23,7 +23,8 @@ Usage:
./phylodb-container.nix
];
```
* Add a host entry for the phylodev fake domain:
* Into the file `/etc/nixos/configuration.nix` of your NixOS host (as root), add a host entry for the phylodev fake domain:
```
networking.hosts = {
"127.0.0.1" = [ "localhost" "data.phylodev.org" ];
......@@ -44,7 +45,9 @@ Usage:
sudo ./init-phylodb-container.sh ~/git/phylodb
```
* Log in
* Connect your browser to http://data.phylodev.org
* If necessary, you can log in to the container as root:
```
sudo nixos-container root-login phylodb
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment