Skip to content

Commit

Permalink
document new start procedure for manual install
Browse files Browse the repository at this point in the history
  • Loading branch information
robnagler committed Feb 15, 2017
1 parent 80a019e commit 969972c
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions README.md
Expand Up @@ -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/).
Expand Down

0 comments on commit 969972c

Please sign in to comment.