- Clone the develop branche of this reporisotry: `git clone -b develop <address>`
- Initialize your project locally
-`composer install`
-`composer drupal-scaffold`
-`composer lakedrops-scaffold`
-`git flow init -d`
- Configure settings.php for local environment
- Define database settings
...
...
@@ -19,7 +19,7 @@
# Configure the Drupal theme
This is only necessary once at the beginning of the project and you should edit the file `composer.json` and especially look into the section `extra/theme-d8-sass/bower_assets`. The two sections `fonts` and `sass` initially contain all available assets. YOu certainly do **not** need them all. That's why you should remove those that you don't require and then call `composer drupal-theme-update`. This will then update the theme and all assets making sure that everything stays consistent.
This is only necessary once at the beginning of the project and you should edit the file `composer.json` and especially look into the section `extra/theme-d8-sass/bower_assets`. The two sections `fonts` and `sass` initially contain all available assets. YOu certainly do **not** need them all. That's why you should remove those that you don't require and then call `composer lakedrops-theme-update`. This will then update the theme and all assets making sure that everything stays consistent.
You can also provide a new name to the theme in the composer.json file, this will then create a new directory and you can then delete the old one.
env CUSTOM_THEME_NAME=[THEMENAME] composer create-project lakedrops/d8-project [DIRNAME] --stability dev
env CUSTOM_THEME_NAME=[THEMENAME] composer create-project lakedrops/d8-project [DIRNAME] --stability dev --no-interaction
```
This will build the full structure and create a git repository which you can then use during the full live-cycle of that project.
...
...
@@ -30,13 +30,13 @@ composer install
Optionally you can also create all the scaffolds by using
```
composer drupal-scaffold
composer lakedrops-scaffold
```
To manually update the theme components, if you're using the `lakedrops/theme-d8-sass` package and unintentionally changed one of the core file, then you can always run