Commit graph

22 commits

Author SHA1 Message Date
Ed Gibbs
b3b34314b6 FIX: Update vagrant box for ruby and phantomjs versions
These updates are needed to successfully run tests on the
vagrant box.
2015-01-12 06:36:48 -08:00
Filipe Fernandes
d2390703b8 Using host Linux (Ubuntu 12.04); performance was abysmal.
On initial load of localhost:4000, the http calls for
additional Javascript files via the browser appears to take
more than a few minutes with *.js endpoints loading in one
file at a time very slowly.

It was observed that the Ruby process was consistently
pegged at 95% and up.  This behaviour is not observed
using a Mac OSX.

However, adding a single core to the guest OS
(from 1 to 2) improved performance considerably.

The patch detects if the host system is Mac OSX or
Linux and attempts to assign the same number of cores
as is present on the host.
2014-07-22 19:44:14 -04:00
Robin Ward
dffe528400 Actually, let's use HTTPS for our Vagrantfile 2014-07-22 15:30:14 -04:00
Robin Ward
d165ad2a67 Use s3/cloudfront for the discourse box. The downloads are throttled or
slow from discourse.org
2014-07-22 15:17:54 -04:00
Robin Ward
499f18a099 Created a new vagrant dev box in advance of our hackathon 2014-07-20 14:54:01 -04:00
Kai Schaper
575f9635f3 add Chef recipe for ImageMagick 2014-05-28 14:59:06 +02:00
Neil Lalonde
ba6c3324dc Update Vagrantfile and docs/VAGRANT.md for new box 2013-10-16 13:55:26 -04:00
kewubenduben
b89a4f50c5 No more reboot on first try
Not sure if removing omnibus is a good idea though.
2013-07-31 10:30:40 +08:00
Ian Carroll
1d1d85ed40 Honestly, MEMORIES? 2013-04-14 22:46:36 -03:00
Neil Lalonde
19a1855ea0 Give vm more memory with DISCOURSE_VM_MEM env variable 2013-04-10 16:57:34 -04:00
Shawn Holmes
acbf4cb412 Sync folder now specifies id
Vagrant 1.1.5 seems to think we are overriding a previous shared folder
in our script. Passing the id solves this.
2013-04-05 08:42:46 -06:00
Neil Lalonde
4d237c46a0 Add Java to vagrant image using chef 2013-03-21 18:51:33 -04:00
Robin Ward
ddff23cc27 Updated Vagrantfile to support Vagrant 1.1.2 - you will probably need to download
Vagrant again! http://downloads.vagrantup.com/
2013-03-20 22:14:26 -04:00
Jamie Murai
73b2d6f076 Update the Vagrantfile to conform to the latest spec (v1.1). 2013-03-20 22:14:20 -04:00
Régis Hanol
1feeeed338 updated sublime-project & vagrant file
added the "trim_trailing_white_space_on_save setting" so developpers
using sublime text will now trim trailing white space one save

updated the vagrant configuration file so it uses ruby convention
2013-02-26 23:12:31 +01:00
nverba
602a79f07c Fixed broken link to Vagrant Docs 2013-02-25 17:34:50 +00:00
Martin Potthast
ac64be720e Vagrant now attempts to mount NFS on both Linux and Darwin. Updated documentation accordingly. 2013-02-22 16:43:56 +01:00
Robin Ward
3875806315 Introduction of Chef to Vagrant. Removed redis.yml and database.yml. Also updated
instructions a lot, and included setup instructions for provisioning your own VM.

Closes #28 and #61.
2013-02-12 11:18:59 -05:00
Elliot Murphy
f28dc6115d Restore NFS shares on darwin & 1024MB in Vagrant. 2013-02-07 22:07:03 -05:00
Elliot Murphy
f3bcbd8bc3 Use chef-solo to install phantomjs into Vagrant VM.
This introduces two configuration management runs into the
Vagrant provisioning phase. The first chef-solo run ensures that
a current version of chef is installed using the omnibus updater.
The second chef-solo run installs vim and phantomjs.

Much more is possible, this is a proof of concept.
Cookbooks are stored in the chef directory, and managed by
librarian-chef, which is like a bundler for cookbooks.

Chef is run when VM is first downloaded and booted, but not on
subsequent halt/up cycles. To force chef to run again, use
`vagrant provision`.
2013-02-07 14:09:57 -05:00
Elliot Murphy
f54e530a3e Tuneups of Vagrant
Increase memory allocation to 512MB so guest VM is not swapping.
SSH forwarding, DNS host nat resolver.
Don't use NFS on darwin, just use standard folder sharing.
2013-02-07 01:13:24 -05:00
Robin Ward
21b5628528 Initial release of Discourse 2013-02-05 14:16:51 -05:00