Potential new user here, and I'm trying to get Backdrop installed on a Virtual Box VM running Ubuntu 18 server.
I've followed the steps on https://api.backdropcms.org/advanced-installation
… but I'm actually stymied by drush dlb backdrop --path="my-backdrop", which returns:
sudo drush dlb backdrop --path="/var/www/backdrop" sudo: drush: command not found
…in spite of following the linked drush installation instructions. Near as I can tell, it's not working at all, and I lack the technical capacity to trouble shoot this. Is there a problem with the Advanced Installation page?
Let's say I give up on drush for installation and use wget to get it downloaded. Is this issue a bellwether for future issues? I'd like a smoothly running site so I can translate this to a production site further down the line, and the VM serves as a guide for getting things to work.
I prefer drush because it's relatively straightforward (and hoo boy composer has some serious issues). But it's proven really handy for security updates for our existing site (Drupal 7).
(I should also probably ask about the possibility of getting Backdrop to support the ShUrly (https://www.drupal.org/project/shurly —sorry, the forum link function seems broken here) and shorten (https://www.drupal.org/project/shorten) modules, since we rely on short urls to track clicks on our content.)
Any help is appreciated.
Based on this:
It looks to me that you do not have
drushproper installed. The Backdrop
drushextension is not a stand alone project, but rather it extends the functionality of
drushproper to work with Backdrop.
So make sure you have
drushinstalled on your VM:
Then install the Backdrop
Then you should be good.
@oadaeh I've updated the backdrop-drush extension README.md to include the step of
drush cc drush;thanks.