Commit Graph

29 Commits

Author SHA1 Message Date
Tarek Loubani
ddd8dd10e7 fix link to result in instant download 2016-06-02 13:13:18 -04:00
Tarek Loubani
74ea898e18 Update Vagrant development environment to use Ubuntu 16.04
- Uses Ubuntu Server 16.04
- Replace NFS with regular vagrant mechanism for shared folder
2016-06-02 13:05:10 -04:00
Wladimir Braguini Domingues
5e7585958a Change Vagrantfile to default VM 1024MB of RAM
Revert a commit that changed the default Vagrantfile to 2048MB of RAM
https://meta.discourse.org/t/discourse-as-your-first-rails-app/5751/105
2015-05-11 01:07:19 -03:00
Sam
4eaee8f611 Merge pull request #3377 from scossar/auto-rtl
Auto rtl
2015-04-28 07:58:35 +10:00
Robin Ward
17dc8b8e4f New Vagrant VM and updated instructions. 2015-04-23 12:54:13 -04:00
Simon Cossar
6fc7371079 Add memory to VM 2015-04-14 18:43:49 -07:00
Ed Gibbs
d818fa4d60 Move vagrant box to discourse hosting
This change just moves the Vagrant box to the discourse account at
Atlas.
2015-01-18 21:59:36 -08:00
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