Skip to content

Latest commit

 

History

History
59 lines (46 loc) · 2.46 KB

README.md

File metadata and controls

59 lines (46 loc) · 2.46 KB

jalidev

Linux development environment for Jali projects.

Prerequisites

Install and configure Chef:

  1. Install ChefDK, here

  2. Install the Chef Vagrant-Omnibus plugin

    vagrant plugin install vagrant-omnibus

  3. Install the Vagrant-Berkshelf plugin

    vagrant plugin install vagrant-berkshelf

Note to NodeJS users

On Windows 10 you need to be a part of the Administrators group and always run vagrant from a console as administrator. You possibly can add the SeCreateSymbolicLinkPrivilege to your account. However your account can't "look" like an admin account or will get a stripped down Windows security token like administrators do but can't "run as administrator". You would have to either disable User Account Control (UAC) or make sure your account does not have any of the restricted priviliges. See article Windows Vista Application Development Requirements for User Account Control Compatibility section New Technologies for Windows subsection Access Token Changes for more information and a list of restricted privileges. HT

To add privileges to create simlinks:

  1. Open a windows security policy editor
    • On Windows 10 Professional or Enterprise open secpol.msc
    • On Windows 10 Home download polsedit from here and open polseditx64.exe
  2. Add your user to SeCreateSymbolicLinkPrivilege

Usage

  1. Clone jalidev:

    git clone --depth=1 --branch=master --origin jalidev https://github.com/latticework/jalidev.git <your-project-name>

  2. Navigate to the <your-project-name> directory

    cd <your-project-name>

  3. Add new git origin. E.g.:

    git remote add origin https://github.com/<your-user-name>/<your-project-name>.git

  4. Rename all references of jalidev to your-project-name in the Vagrantfile. Note that this will become the name of your virtual machine, and you can only have one.

  5. Open a console window (perhaps as Administrator), cd to the project folder and run Vagrant:

    vagrant up

  6. Wait for Vagrant and Chef initializations to complete before using new the virtual machine.