Display speed of the page of discourse is very slow


(ktt) #1

I have built an environment in reference to the following sites.
http://blog.discourse.org/2013/04/discourse-as-your-first-rails-app/
When I access to http://localhost:4000, until the page is displayed.
It takes about 1 hour.
Display of the page or faster How do I?

I’m using google translator because I can not use English :D


(Sam Saffron) #2

That vagrant image is a train wreck on windows try running discourse internal in the vm as opposed to off a share


(ktt) #3

vm you mean of Vmware?


(Sam Saffron) #4

I mean ANY virtualization solution. Vagrant sets up virtual box, that can work fine, provided the source code live in the vm. not in an smb share.


(Mittineague) #5

Same for me, the initial load is painfully slow.

I use Oracle VM VirtualBox
open GitHub
open Shell
start Vagrant
start Rails
open browser
go get a bite to eat and a cup of coffee

I’m wondering if throwing more memory at something might help or if I need to just accept that Windows isn’t the best OS for a *nix app.


(Sam Saffron) #6

Windows is fine, I use it and my dev speed is spectacular

The issue is having source code live in a Windows share as opposed to inside the vm


(Mittineague) #7

So instead of

C:/Vagrant
C:/GitHub (where the Discourse code is now)
C:/Program Files/Oracle/VirtualBox

I should put everything inside VirtualBox?


(Sam Saffron) #8

The source code for discourse must be inside virtualbox and anything used by discourse like gems. If you need a share, share in the reverse direction