Sirepo is a scientific application framework, currently for particle accelator codes. The codes run inside a Python web server.
You can start Sirepo with Vagrant. First create a Vagrantfile:
cat > Vagrantfile <<'EOF'
Vagrant.configure(2) do |config|
config.vm.box = "radiasoft/sirepo"
config.vm.network "forwarded_port", guest: 8000, host: 8000
end
EOF
Boot the machine:
vagrant up
The images is 2.5GB so this will take some time.
You can run Sirepo with a single command:
vagrant ssh -c '. ~/.bashrc; sirepo service http'
Or, if you would like to do development:
vagrant ssh
cd src/radiasoft
pip uninstall sirepo pykern
git clone https://github.com/radiasoft/pykern
cd pykern
pip install -e .
cd ..
git clone https://github.com/radiasoft/sirepo
cd sirepo
pip install -e .
sirepo service http