Vagrant: increase default resources for VM
Without setting any defaults, it seems to give 1024MB of memory and 2 CPUs. That low of memory can (and does) result in the VM swapping itself to death when doing some things. I'm going to set a reasonable amount in the Vagrantfile, and update the docs to explain how to raise/lower it if necessary (and recommend a minimum).
For now if I have an existing box should I just manually increase the specs via Virtualbox directly? Because I did experience a strange issue today which was fixed by a VM reboot.
Oh, but upon
vagrant upit will overwrite those manual changes, correct? So I guess I will just add these lines to my local Vagrantfile.
You shouldn't need to manually add the lines, you can just pull down the new commits from GitLab with
git pull origin master(assuming it doesn't cause a conflict with something else you've added).
Then it'll get added to your Vagrantfile, and should apply next time the Vagrant box starts/restarts. You can restart a running one with
Actually sorry, it would probably be
originif you're set up on your own fork like it describes in this section of the dev setup docs: https://docs.tildes.net/development-setup#fork-and-clone-the-repository
The "Syncing a fork" link in there should explain how to sync up with the new changes from