Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/noha/virtual-gemstone
bootstrapping a virtual appliance that runs the GemStone OO database and prerequisites to run web applications
https://github.com/noha/virtual-gemstone
Last synced: 3 months ago
JSON representation
bootstrapping a virtual appliance that runs the GemStone OO database and prerequisites to run web applications
- Host: GitHub
- URL: https://github.com/noha/virtual-gemstone
- Owner: noha
- Created: 2011-08-26T09:08:29.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-10-02T09:08:37.000Z (over 11 years ago)
- Last Synced: 2024-10-10T13:26:40.136Z (4 months ago)
- Language: Ruby
- Homepage:
- Size: 177 KB
- Stars: 3
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
Introduction
Virtual Gemstone creates a fully functioning VirtualBox virtual machine that runs smalltalk in the Gemstone Object Oriented Database proxied behind Nginx, a high performance easy configuration webserver.
The nginx installation is configured to use ssl by default, because we care about a secure browsing experience for our users, and we want to use the same configuration in development as in production.
Vagrant (http://www.vagrantup.com) and veewee are used to generate a fresh 'box' from a debian iso.Installation
git clone https://github.com//virtual-gemstone.git
=create a vagrant base box using veewee:=
cd virtual-gemstone/veewee
vagrant basebox build 'gemstone'run integration specs:
vagrant basebox validate gemstonecreate a .box file in the current directory, for reuse or export to other users:
vagrant basebox export gemstoneadd the box to the list of boxes on the current machine, so you can vagrant box init from it later:
vagrant box add 'gemstone' 'gemstone.box'check that it exists:
vagrant box listNow you have a running box. Next step is to populate your newly created box. Just do
cd virtual-gemstone/vagrant
vagrant upIf you want to know the details please visit http://vagrantup.com
test it:
log in to the box
vagrant ssh
use the text browser in the box to see the site
(todo, nginx recipe not completed yet).
lynx http://localhostor as soon as SSL is in place:
lynx https://localhost
How it works
Virtual Gemstone is built on Vagrant (http://www.vagrantup.com), a command line interface that lets you create, destroy VMs at will, and run Chef configuration management scripts
We use veewee to generate the vagrant vm from a standard ubuntu 11.04 LTS VM, so you can be 100% sure where your VM comes from, and you can configure it as you wish.Credits