From 969972cfc092213857f99e17ad57d60011e0008e Mon Sep 17 00:00:00 2001 From: robnagler Date: Wed, 15 Feb 2017 15:31:21 +0000 Subject: [PATCH] document new start procedure for manual install --- README.md | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index e2ee5cd481..5301748bf0 100644 --- a/README.md +++ b/README.md @@ -42,23 +42,17 @@ You can start Sirepo with [Docker](https://www.docker.com/). If you are running Docker as an ordinary user (recommended), use the following: ```bash -$ docker run -it --rm -p 8000:8000 -v "$PWD:/vagrant" radiasoft/sirepo /radia-run "$(id -u)" "$(id -g)" /home/vagrant/bin/radia-run-sirepo /vagrant 8000 +$ docker run -p 8000:8000 -v "$PWD:/sirepo" radiasoft/sirepo ``` The `/radia-run` command ensures the guest's user can read/write files from the current directory, which is where the database and other files will be stored. + Then visit the following link: [http://localhost:8000/light](http://localhost:8000/light) -You can run sirepo in an emphemeral container as root, but without -storing files on the host: - -```bash -# docker run -it --rm -p 8000:8000 -u vagrant radiasoft/sirepo bash -l -c 'radia-run-sirepo "$HOME" 8000' -``` - ### Manual Install with Vagrant You can start Sirepo with [Vagrant](https://www.vagrantup.com/).