View on GitHub

Notepal

Jupiter System - Collaborative Editing - Applied to Sticky Notes

Download this project as a .zip file Download this project as a tar.gz file

This page is to show you how to install the development environment needed on Windows 7. We will use a virtual machine running Ubuntu with all needed components installed. To do this, we will use Vagrant, which will also need VirtualBox to work.

Requirements

First, we need these following tools :

Modifying the path

This paragraph will show you how to change your path to access your virtual machine via SSH. Here, we will consider that we are using Git, but the principle remains the same if you use another equivalent program.

  1. Go to your Desktop and right-click My Computer then click Properties.
  2. Enter the advanced parameters tab and click Environment Variables
  3. Edit the Path variable, add a ";" after the last variable (if not already done) then add the path to ssh.exe (for example : C:\Program Files (x86)\Git\bin\ssh.exe)
  4. Press OK.

Installing the development environment

  1. Download the configuration files by decompressing this archive if you want to use the 32-bits version or this one if you want to use the 64-bits version on your computer :
  2. Start a terminal (for example, you can press Windows button, type cmd then press ENTER).
  3. Using your terminal, enter the folder Vagrant32 (or Vagrant64 )previously extracted. You should see a Vagrantfile if you enter : $ dir.
  4. Use the command : $ vagrant init precise32 http://files.vagrantup.com/precise32.box(or $ vagrant init precise64 http://files.vagrantup.com/precise64.box). This should take a while but enables you to download essential files to have your virtual machine work.

Once the download is over, we need to start the virtual machine : $ vagrant up. Now, you have a fully-working virtual machine with no graphical interface or needed softwares. Ths can be solved by typing : $ vagrant provision.

This should automatically install all needed modules and softwares needed to develop the project. Once it is done, you can shut down the virtual machine by entering : $ vagrant halt.

Using the virtual environment

Now that the virtual machine you need to develop is installed, you will may want to use it. You have two choices :

No graphical interface

If you don't want to use the graphical interface, you can :

  1. use your Windows terminal to enter dvpmt_env
  2. type : $ vagrant up.

This will start your virtual machine. Then you can access it by entering : $ vagrant ssh. Hit CTRL + C when you are done to exit the development environment. You can shut down the machine by typing : $ vagrant halt.

With a graphical interface

Sometimes, to code or try the implemented functionalities, you may want to use a graphical interface. To do so :

  1. Start VirtualBox and then run the machine called precise32
  2. The password is vagrant (your keyboard is configured as qwerty)

Destroying the developement environment

If don't need the development environment anymore or if an incident occured with important system files, you can destroy it by entering dvpmt by using the command : $ vagrant destroy.