Meet Vim Sessions

A few weeks ago, while I was tracking and debugging a system in which I’m currently working, the client told me that another part of the system was having troubles. Suddenly, I’m on verge of close all the Vim’s buffer I’ve just opened because I need to switch branches meaning that I need a way to know in which files I was working before closing them. Needless to say, it was hard to found those files and I even haven’t made a change in them (I have just found them) Additionally, is a huge project with a lot of micro projects so, at this point, I didn’t know in which project I was working (I know my mistake). [Read More]

Add public key to Vagrant

After copying a file to Vagrant and creating a basic file structure. We can continue with our series. So, in this post, we are going to talk about the following topics: Assign an IP address Add your public key Access to vagrant machine without vagrant ssh For the first point and taking the file structure previously mentioned, we modify as follow: Vagrant.configure("2") do |config| config.vm.box = "centos/7" config.vm.network "public_network", bridge: "en0: Wi-Fi (AirPort)", auto_config: false config. [Read More]

Copying files to vagrant

Well, one of the common things to do in Vagrant is copying files. So for achieve that task we need to prepare a file like this. Once we have that file, we change config.vm.box = "ubuntu/trusty64" for config.vm.box = "centos/7". And modify it like follow: Vagrant.configure("2") do |config| config.vm.box = "centos/7" config.vm.provision "file", source: "lorem_ipsum.txt", destination: "~/lorem_ipsum.txt" end Alright we run the command for execute our file. ❯ vagrant up Bringing machine 'default' up with 'virtualbox' provider. [Read More]

Creating virtual machines with Vagrant

It’s been awhile since I wrote a post, but in compensation I would make a series of post talking about deploying applications with edeliver. But for this, we need to prepare the path. So, in this first post I will talk about Vagrant and how to use to setup an environment. First of all, we’re going to install Vagrant and Virtual Box. We’ll download Vagrant from this link and follow the instructions(i. [Read More]