. Run Wamp64 as administrator.
. Download Craft and follow installation instructions. Put site in a new folder in wamp64/www
.
. Create .gitignore
and initialize repo.
. Add 'devMode' => true,
to config/general.php
. Set timezone in General Settings > Timezone.
- (Optional) Update user profile by clicking on empty image field in sidebar.
. Install Field Manager and Sprout Fields plugins right away.
. Configure asset sources. I create an
uploads
folder in the root and add subfolders and Asset Sources for major asset types depending on the site. . Import site-wide settings fields fromsite-wide-settings.json
. . Adjust asset fields as needed. . InSettings > Globals
, create a set calledSite Info
and add the site-wide settings. . (Optional) Add content to Globals
Rename .html
files to .twig
for better linting.
Github's remote is origin
and default branch is dev
.
Live site's remote is live
and the branch is katie
.
To back up WIP changes: git push origin dev
.
To push to live site: git push live dev:katie
.