##About
See the SQL Fiddle about page page for background on the site.
Fork the code on github to a local branch for youself.
You are going to need Vagrant and VirtualBox installed locally to get SQL Fiddle running. For VirtualBox, you will need to add a Host-only network for 10.0.0.0/24. Once you those installed and configured, and this project cloned locally, run this command from the root of your working copy:
vagrant up
This will take a while to download the base image and all of the many dependencies. Once it has finished, you will have the software running in a set of VMs. You can now access your local server at localhost:6081.
Note for Windows users - be sure that you run "vagrant up" as an administrator.
You should now have a functional copy of SQL Fiddle running locally.
I'm happy to entertain pull requests!
Thanks, Jake Feasel
To run the commercial database software (Microsoft SQL Server 2014 Express, Oracle 11g R2 XE) you must have a Windows Server 2008 R2 (or higher) instance available, preferably as a Vagrantbox. The core software must be installed prior to attempting to use it with SQL Fiddle. Below are the expectations for how this Vagrantbox image needs to be produced
- Install Windows in a Virtualbox VM
- Install the database software within this VM (see below sections for details)
- Follow the instructions listed on this blog post to turn it into a Vagrantbox
- Update the Vagrantfile located in this folder to refer to your own Vagrantbox image (replace /Volumes/Virtual Disk Storage/jakefeasel.windows2008R2SQLServer2014Oracle11GXE.box with the path to your image)
- Before you type vagrant up, you will need to type "vagrant up windows" to start this VM, since it is optional
- Don't need the "SQL Server Replication" Feature (leave the others checked)
- Use the "Default instance" (leave the "Instance ID" as "MSSQLSERVER")
- Authentication mode is "Mixed"; sa password is "SQLServerPassword"
- Enable TCP/IP connections in the network configuration
- "system" password is "password"
- Follow instructions in vagrant_scripts/idm_bootstrap.sh for details on what must be done to obtain and use the JDBC driver