This is a new feature that has been added to Drupal 8.6.x: - Issue: https://www.drupal.org/project/drupal/issues/2911319 - Change record: https://www.drupal.org/node/2969396 - Documentation: https://www.drupal.org/docs/8/install/drupal-8-quick-start-command
It seems to rely on SQLite though, which we have dropped support for
Description: A new command to install and run Drupal was added.
...
php core/scripts/drupal quick-start demo_umami 18/18 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] Congratulations, you installed Drupal! Username: admin Password: PM_kRw1i1xtPGeoT Drupal development server started: <http://127.0.0.1:8888> This server is not meant for production use. One time login url: <http://127.0.0.1:8888/user/reset/1/insert-random-ness/login> Press Ctrl-C to quit the Drupal development server.Optional: Run the following command for a list of available options that you may need to configure quick-start:
$ php core/scripts/drupal quick-start --help
This is really neat! Perhaps we can do something similar for Backdrop?
Recent comments
Thanks Alejandro. That was the clues I needed.
Ubercart - Programmatically add product to cart and straight to Checkout
Have you tried uc_cart_add_item()? You need to provide the nid of the product. Then you can use backdrop_goto('cart/checkout'); to send the user to the checkout screen. uc_cart_add_item...
Ubercart - Programmatically add product to cart and straight to Checkout
No problem, let's see how it evolves. I'd be happy to provide a suggested version if i could. I will keep that in mind and try learn this hook chain hopefully very soon. I will...
File hashing uploads made through TinyMCE