A brief description of Joey's P.A.W. for Beyond Spots and Dots
This project is based on BLT, an open-source project template and tool that enables building, testing, and deploying Drupal installations following Acquia Professional Services best practices.
To set up your local environment and begin developing for this project, refer to the BLT onboarding documentation. Note the following properties of this project:
- Primary development branch: develop
- Local environment: DrupalVM
- Local drush alias: @joeyspaw.local
- Local site URL: http://local.joeyspaw.com/
- Clone Repo
- If not set up follow above instructions for setting up BLT
cd repo-dir
composer install
vagrant up
blt sync:refresh
(Pulls down db from remote and imports config)- If
command not found: blt
: run
composer run-script blt-alias
source ~/.bash_profile
- Commit changes
-
git pull git push
blt deploy --commit-msg "BLT-000: Example deploy to branch" --branch "stage" --no-interaction
(This creates the build artifact and pushes to Stage)
drush @joeyspaw.local cex vcs
- Choose VCS
- Commit files
-
git pull git push
- After
blt deploy
completes:drush @joeyspaw.{env} cim vcs
blt deploy --branch master
Prior to developing: Install Node 6.10, (NVM)[https://github.com/creationix/nvm], (ANV)[https://github.com/wbyoung/avn], and (yarn)[https://yarnpkg.com/en/docs/install]
cd docroot/themes/custom/joeyspaw
yarn install
yarn run serve
ctrl + c to quit gulp- Make changes
- If committing to production
gulp build
-
git pull git push
blt deploy --commit-msg "BLT-000: Example deploy to branch" --branch "stage" --no-interaction
- GitHub
- Cog Base Theme Documentation
- Living Theme Styleguide(/themes/custom/joeyspaw/styleguide/)
- TravisCI - link me!
Error 255: Readd public key for Acquia
Config on local fails: Try running drush @joeyspaw.local updb