This repository has been archived by the owner on Nov 4, 2024. It is now read-only.
forked from ualib-deploy/roots-ualib
-
Notifications
You must be signed in to change notification settings - Fork 3
3. Cloning the theme
Will Jones edited this page Mar 7, 2015
·
13 revisions
- Open PhpStorm
- Clone the repo from Github
- For fresh PhpStorm installs: Choose "Check out from Version Control" on the welcome screen, then choose Github.
- Or, go to VCS -> Check out from Version Control -> Github
- Choose the
ualibweb/roots-ualib
repo
- If you have contribute access to the
ualib
Github machine account, Do not checkout theualib/ualib-roots
repo
- Set the
Parent Directory
to the WordPressthemes
folder in your Bitnami install.
- Ex:
C:\Bitnami\wordpress-4.1.1-0\apps\wordpress\htdocs\wp-content\themes
- If you're not using Bitnami, just set the
Parent Directory
to where ever you have WP installed
- Click
Clone
If you have already installed Grunt and Bower, skip step 3
After you have cloned the repository from Github, you'll need to install the theme's Grunt and Bower dependencies.
- In PhpStorm click open the terminal by clicking the
Terminal
button on the bottom left or pressAlt + F12
. - Install Grunt and Bower globally by typing the following command
npm install -g grunt-cli bower
- Install the repo's Node dependencies
npm install
- Install the Bower dependencies:
bower install
If Node or Bower are given the install
command without specifying a package (i.e., bootstrap, grunt, etc...) then they assume you want to install from a list of packages in a config file. The Node dependencies are defined in the package.json
file. Bower dependencies are in the bower.json
file. To install from these config files you must run the install command from the same folders where the config files are.