Linux development environment for Jali projects.
Install and configure Chef:
-
Install ChefDK, here
-
Install the Chef Vagrant-Omnibus plugin
vagrant plugin install vagrant-omnibus -
Install the Vagrant-Berkshelf plugin
vagrant plugin install vagrant-berkshelf
On Windows 10 you need to be a part of the
Administratorsgroup and always runvagrantfrom a console as administrator. You possibly can add theSeCreateSymbolicLinkPrivilegeto 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 articleWindows Vista Application Development Requirements for User Account Control Compatibilitysection New Technologies for Windows subsectionAccess Token Changesfor more information and a list of restricted privileges. HTTo add privileges to create simlinks:
- Open a windows security policy editor
- On Windows 10 Professional or Enterprise open
secpol.msc- On Windows 10 Home download
polseditfrom here and openpolseditx64.exe- Add your user to
SeCreateSymbolicLinkPrivilege
-
Clone jalidev:
git clone --depth=1 --branch=master --origin jalidev https://github.com/latticework/jalidev.git <your-project-name> -
Navigate to the
<your-project-name>directorycd <your-project-name> -
Add new git origin. E.g.:
git remote add origin https://github.com/<your-user-name>/<your-project-name>.git -
Rename all references of
jalidevtoyour-project-namein theVagrantfile. Note that this will become the name of your virtual machine, and you can only have one. -
Open a console window (perhaps as Administrator), cd to the project folder and run Vagrant:
vagrant up -
Wait for Vagrant and Chef initializations to complete before using new the virtual machine.