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
Administrators
group and always runvagrant
from a console as administrator. You possibly can add theSeCreateSymbolicLinkPrivilege
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 articleWindows Vista Application Development Requirements for User Account Control Compatibility
section New Technologies for Windows subsectionAccess Token Changes
for 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
polsedit
from 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
jalidev
toyour-project-name
in 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.