Skip to content
Snippets Groups Projects
Commit fd0d58bf authored by jurgenhaas's avatar jurgenhaas
Browse files

Remove scripts, they will be added dynamically

parent 57248552
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -9,7 +9,7 @@
- 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.
......
......@@ -9,7 +9,7 @@
## Create new project for local development
```
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
```
composer drupal-theme-update
composer lakedrops-theme-update
```
## Adding new and updating existing components
......
......@@ -108,15 +108,6 @@
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"drupal-scaffold": "LakeDrops\\Drupal8Scaffold\\Plugin::scaffold",
"drupal-theme-install": "LakeDrops\\Drupal8Theme\\SASS\\Plugin::init",
"drupal-theme-update": "LakeDrops\\Drupal8Theme\\SASS\\Plugin::update",
"drupal-theme-reset": "LakeDrops\\Drupal8Theme\\SASS\\Plugin::reset",
"drupal-theme-overwrite": "LakeDrops\\Drupal8Theme\\SASS\\Plugin::overwrite",
"d4d": "LakeDrops\\Docker4Drupal\\Plugin::config",
"dorgflow": "LakeDrops\\DorgFlow\\Plugin::prepare"
},
"config": {
"preferred-install": {
"*": "dist"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment