Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
@bluecadet/cadet
Advanced tools
npm install -g @bluecadet/cadet
When starting off a new project...
terminus build:project:create ...
cadet pull --init
cadet pull
and pull db onlycadet new-site
cadet init-site
drush cex
and commit changescadet new-theme
to create new FE themecadet new-theme
again if you want to create a specific BE themecadet ci-update --incTestConfig
to add the latest ci files and changes and base test filesOnce connected to the Bluecadet Network, office or VPN.
SSH into the raspi, ssh pi@[IP ADDRESS]
Don't think to hard about the password.
run crontab -l
to get familiar with what we will be doing. We typically want to run daily tasks on each environment. Feel free to run as many different commands, but please keep blocks together in each project.
cd to /usr/local/bin where we store all the scripts, cd /usr/local/bin
copy "proj-template" folder, sudo cp -r proj-template/ [PROJECT NAME]
edit files inside your new project directory. All Actions are commented out. Add what you need.
cd [PROJECT NAME]
sudo nano dev-daily
and repeat for all files...Add new commands to the crontab
crontab -e
# [PROJECT_NAME]
# contact: [your name] [your email]
10 1 * * * /usr/local/bin/[PROJECT_NAME]/dev-daily >> /home/pi/Documents/cron-[PROJECT_NAME].log 2>&1
5 1 * * * /usr/local/bin/[PROJECT_NAME]/test-daily >> /home/pi/Documents/cron-[PROJECT_NAME].log 2>&1
0 1 * * * /usr/local/bin/[PROJECT_NAME]/live-daily >> /home/pi/Documents/cron-[PROJECT_NAME].log 2>&1
45 1 * * * /usr/local/bin/[PROJECT_NAME]/copy-down-daily >> /home/pi/Documents/cron-[PROJECT_NAME].log 2>&1
/usr/local/bin/[PROJECT_NAME]/dev-daily
and check the outputcrontab: installing new crontab
.When starting local development on a new project...
cadet pull --init
cadet pull
and pull db onlycomposer install
npm install
cadet new-site
composer install
Error: ENOENT: no such file or directory, scandir '[...]/node_modules/node-sass/vendor'
, run node node_modules/node-sass/scripts/install.js
and npm rebuild node-sass
(https://github.com/sass/node-sass/issues/1579#issuecomment-227661284)chalk.cyan('text')
chalk.yellow.bold('text')
chalk.blue('text')
(when appropriate, use ...
before and after message)chalk.green('text')
chalk.white.bgRed('text')
chalk.yellow('text')
FAQs
Unknown package
The npm package @bluecadet/cadet receives a total of 0 weekly downloads. As such, @bluecadet/cadet popularity was classified as not popular.
We found that @bluecadet/cadet demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.