Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

UNDER REVIEW 230530

Creating a new D10 project which uses Dart SASS

  1. Create a fresh Drupal project, using any option you prefer:

    1. Download Drupal 10 directly: https://www.drupal.org/project/drupal/releases/10.0.0

    2. Use Composer https://www.drupal.org/docs/develop/using-composer/manage-dependencies

      1. If you have composer globally:

        composer create-project drupal/recommended-project my_site_name_dir 
      2. Change my_site_name_dir to an appropriate name for your project.

    3. Via Docker - docker run --rm -i --tty -v $PWD:/app composer create-project drupal/recommended-project my_site_name_dir --ignore-platform-reqs

  2. Create a new, custom Drupal Theme.

    1. Run this command from your project’s root:

      php core/scripts/drupal generate-theme my_new_theme
      1. Change my_new_theme to an appropriate name for your project.

    2. Otherwise, download or create your own theme from scratch.

  3. Update composer.json file, in project root.

    1. Ensure to include drush if you would like to use it - "drush/drush": "^11.4" . You can also run composer require drush/drush

  4. Create a Lando, or DDev project.

    1. https://docs.drupalcommerce.org/commerce2/developer-guide/install-update/quick-start

    2. https://ddev.readthedocs.io/en/latest/users/quickstart/#craft-cms

    3. https://stackoverflow.com/questions/49785023/how-can-i-create-and-load-a-second-database-in-ddev

  5. Start the project.


Additional, helpful links:

https://blog.logrocket.com/how-switch-node-js-versions-nvm/

  • No labels