acromedia / commerce-install Goto Github PK
View Code? Open in Web Editor NEWInstallation tool for Drupal Commerce 2
Installation tool for Drupal Commerce 2
Using package 6150, composer install creates docroot (where it puts the files, as set in composer.json), and also creates a web/ with only directories, no files, which comes from scripts/composer/ScriptHandler.php
.
Is there a reason for this?
Download Open social (without any other component)
kickstart-2087.tar.gz
Extract and cd to kickstart-2087
192:downloads stmacpro$ cd kickstart-2087
run composer install
192:kickstart-2087 stmacpro$ composer install
Error
[Composer\Json\JsonValidationException]
"./composer.json" does not match the expected JSON schema:
- repositories.goalgorilla/social_docker_2 : Object value found, but a boo
lean is required- repositories.goalgorilla/social_docker_2 : Does not have a value in the
enumeration [false]- repositories.goalgorilla/social_docker_2.package : The property package
is required- repositories.goalgorilla/social_docker_2.type : Does not have a value in
the enumeration ["composer"]- repositories.goalgorilla/social_docker_2.url : NULL value found, but a s
tring is required- repositories.goalgorilla/social_docker_2.type : Does not have a value in
the enumeration ["vcs","github","git","gitlab","git-bitbucket","hg","hg-bi
tbucket","fossil","perforce","svn"]- repositories.goalgorilla/social_docker_2.type : Does not have a value in
the enumeration ["path"]- repositories.goalgorilla/social_docker_2.type : Does not have a value in
the enumeration ["artifact"]- repositories.goalgorilla/social_docker_2.type : Does not have a value in
the enumeration ["pear"]- repositories.goalgorilla/social_docker_2 : Failed to match exactly one s
chema
See the full composer.json file on gist
58---
"repositories": {
"drupal": {
"type": "composer",
"url": "https://packages.drupal.org/8"
},
"commerce_base": {
"type": "vcs",
"url": "https://github.com/drupalcommerce/commerce_base"
},
"asset-packagist": {
"type": "composer",
"url": "https://asset-packagist.org"
},
"goalgorilla/social_docker_0": {
"type": "composer",
"url": "https://packages.drupal.org/8"
},
"goalgorilla/social_docker_1": {
"type": "composer",
"url": "https://asset-packagist.org"
},
"goalgorilla/social_docker_2": {
"type": "package",
"url": null
}
},
85---
I don't know if this is here or https://github.com/smmccabe/accompanist. Honestly it may be both, as https://github.com/smmccabe/accompanist should not supported that license anymore and consider it invalid.
. . . or is Drupal Commerce 2.x also available for Drupal 7?
commerce-install/src/components/Kickstart.vue
Lines 38 to 42 in fa57731
After configuring the backend install and clicking the download button I get redirected to http://localhost:8080/undefined and no download starts.
who had an idea to put installation into a 'web' folder instead of normally root folder of a web site?
how to move it now to root dir
And of course it ended with errors, the site looks like without any theme at all
Please help :)
kickstart-9770.tar.gz
PHP 7.1.29
XAMPP
Microsoft Windows [Version 10.0.17134.765]
c:\xampp\htdocs\ks>composer install
Class DrupalProject\composer\S
criptHandler is not autoloadable, can not call pre
-update-cmd script
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Conclusion: don't install drupal/core 8.7.1
- Installation request for acquia/lightning 3.1.3 -> satisfiable by acquia/lightning[3.1.3].
- Conclusion: don't install drupal/core 8.7.0
- Can only install one of: drupal/core[8.6.0, 8.5.x-dev].
- Can only install one of: drupal/core[8.6.0-alpha1, 8.5.x-dev].
- Can only install one of: drupal/core[8.6.0-beta1, 8.5.x-dev].
- Can only install one of: drupal/core[8.6.0-beta2, 8.5.x-dev].
- Can only install one of: drupal/core[8.6.0-rc1, 8.5.x-dev].
- Can only install one of: drupal/core[8.6.1, 8.5.x-dev].
- Can only install one of: drupal/core[8.6.10, 8.5.x-dev].
- Can only install one of: drupal/core[8.6.11, 8.5.x-dev].
- Can only install one of: drupal/core[8.6.12, 8.5.x-dev].
- Can only install one of: drupal/core[8.6.13, 8.5.x-dev].
- Can only install one of: drupal/core[8.6.14, 8.5.x-dev].
- Can only install one of: drupal/core[8.6.15, 8.5.x-dev].
- Can only install one of: drupal/core[8.6.16, 8.5.x-dev].
- Can only install one of: drupal/core[8.6.2, 8.5.x-dev].
- Can only install one of: drupal/core[8.6.3, 8.5.x-dev].
- Can only install one of: drupal/core[8.6.4, 8.5.x-dev].
- Can only install one of: drupal/core[8.6.5, 8.5.x-dev].
- Can only install one of: drupal/core[8.6.6, 8.5.x-dev].
- Can only install one of: drupal/core[8.6.7, 8.5.x-dev].
- Can only install one of: drupal/core[8.6.8, 8.5.x-dev].
- Can only install one of: drupal/core[8.6.9, 8.5.x-dev].
- Can only install one of: drupal/core[8.6.x-dev, 8.5.x-dev].
- Can only install one of: drupal/core[8.7.0-alpha1, 8.5.x-dev].
- Can only install one of: drupal/core[8.7.0-alpha2, 8.5.x-dev].
- Can only install one of: drupal/core[8.7.0-beta1, 8.5.x-dev].
- Can only install one of: drupal/core[8.7.0-beta2, 8.5.x-dev].
- Can only install one of: drupal/core[8.7.0-rc1, 8.5.x-dev].
- Can only install one of: drupal/core[8.7.x-dev, 8.5.x-dev].
- Can only install one of: drupal/core[8.8.x-dev, 8.5.x-dev].
- Conclusion: install drupal/core 8.5.x-dev
- Installation request for drupal/core ^8.6.0 -> satisfiable by drupal/core[8.6.0, 8.6.0-alpha1, 8.6.0-beta1, 8.6.0-beta2, 8
.6.0-rc1, 8.6.1, 8.6.10, 8.6.11, 8.6.12, 8.6.13, 8.6.14, 8.6.15, 8.6.16, 8.6.2, 8.6.3, 8.6.4, 8.6.5, 8.6.6, 8.6.7, 8.6.8, 8.6.9,
8.6.x-dev, 8.7.0, 8.7.0-alpha1, 8.7.0-alpha2, 8.7.0-beta1, 8.7.0-beta2, 8.7.0-rc1, 8.7.1, 8.7.x-dev, 8.8.x-dev].
c:\xampp\htdocs\ks>
kickstart-9770.tar.gz
When trying to install Drush 9 which requires webflo/drupal-finder ^1.1 this conflicts with the downloaded composer.json from commercekickstart.com which requires webflo/drupal-finder ^0.3.0.
Is there a reason for requiring an older version of webflo/drupal-finder? Otherwise consider changing the required version to a newer version so that Drush 9 can be installed.
$ composer require drush/drush 389ms ๎ณ
1/5: http://packagist.org/p/provider-latest$0edb7c29aeeca2de84080c0e38edb02e5df329f80fc1e1f4a7c8fa5da852f84a.json
2/5: http://packagist.org/p/provider-2017-07$955a54374fafc4fd740a710ca33f20ff703ed0423a03f167d2d7b2a29c01750e.json
3/5: http://packagist.org/p/provider-2016$9fceca95c4bfe092b6a73f572c30a1a88e381187c9add30a7ad2263d0080d0bb.json
4/5: http://packagist.org/p/provider-2018-01$b4d5d05d1751ef040090b5244843dc3cf3b0d755b6523ba565f5c1f6dd847be2.json
5/5: http://packagist.org/p/provider-2017-10$ee334c1595d56eb89cf55374590623e1746b3c39fcfb4770dcfa14b13251f0e2.json
Finished: success: 5, skipped: 0, failure: 0, total: 5
Using version ^9.2 for drush/drush
./composer.json has been updated
> DrupalProject\composer\ScriptHandler::checkComposerVersion
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- drush/drush 9.2.1 requires webflo/drupal-finder ^1.1 -> satisfiable by webflo/drupal-finder[1.1.0] but these conflict with your requirements or minimum-stability.
- drush/drush 9.2.0 requires webflo/drupal-finder ^1.1 -> satisfiable by webflo/drupal-finder[1.1.0] but these conflict with your requirements or minimum-stability.
- Installation request for drush/drush ^9.2 -> satisfiable by drush/drush[9.2.0, 9.2.1].
Installation failed, reverting ./composer.json to its original content.
$
I'd like the download package to include a "best practices" .gitignore that the drupalcommerce/project-base
template uses:
https://github.com/drupalcommerce/project-base/blob/8.x/.gitignore
# Ignore directories generated by Composer
/bin/
/drush/contrib/
/vendor/
/web/core/
/web/modules/contrib/
/web/themes/contrib/
/web/profiles/contrib/
# Ignore sensitive information
/web/sites/*/settings.php
/web/sites/*/settings.local.php
# Ignore Drupal's file directory
/web/sites/*/files/
# Ignore SimpleTest multi-site environment.
/web/sites/simpletest/
# Ignore files generated by PhpStorm
/.idea/
We should auto-pull the base files we use, to make sure we're not setting people up with old stuff. Right now if you try you get Drupal 8.3 instead of 8.4 (and probably other old stuff)
reported by andyd in slack:
At end of composer install come the
Create a sites/default/services.yml file with chmod 0666
Create a sites/default/files directory with chmod 0777```
messages. I'm guessing that these are hard to change and come from core but the site is actually installed into *web*/sites... so following these instructions won't work.
As it turns out both service.yml & settings.php exist in this install so they don't need to be created and their permissions are already 666 so they don't need chmod either. If the messages could be removed or replaced with something about creating a database and setting up a webserver that would probably be ideal.
When I run composer install
on the composer.json
, I get a web
directory that is missing the standard .php files like index.php
or update.php
. All I see are these three directories:
core/ modules/ profiles/ sites/ themes/
Ran composer update today and received the following error.
[RuntimeException]
Could not scan for classes inside "docroot/modules/contrib/lightning_core/tests/contexts/AwaitTrait.inc" which do
es not appear to be a file nor a folder
A Google search didn't turn up any related issues but the site appears to still be up and running.
Any ideas how to troubleshoot this a little further?
I selected the following from your site to create a install package and it will not work. I have tried other options and it works fine but this set doesn't.
Options Selected:
Build Summary
Region
North America
Distribution
Lightning
Payments
Paypal
Shipping
Flat Rate
UPS
FedEx
Postcode
Taxes & Accounting
Custom Taxes
Catalog
Database Search
Data Migration
None
When I put the files (I have attached) into my web folder and run 'composer install' I get the following message. I have also tried to 'composer update' to see if it would resolve some dependencies however it didn't.
Error Messages:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- webflo/drupal-core-require-dev 8.4.5 requires drupal/core 8.4.5 -> satisfiable by drupal/core[8.4.5] but these conflict with your requirements or minimum-stability.
- webflo/drupal-core-require-dev 8.4.4 requires drupal/core 8.4.4 -> satisfiable by drupal/core[8.4.4] but these conflict with your requirements or minimum-stability.
- webflo/drupal-core-require-dev 8.4.3 requires drupal/core 8.4.3 -> satisfiable by drupal/core[8.4.3] but these conflict with your requirements or minimum-stability.
- webflo/drupal-core-require-dev 8.4.2 requires drupal/core 8.4.2 -> satisfiable by drupal/core[8.4.2] but these conflict with your requirements or minimum-stability.
- webflo/drupal-core-require-dev 8.4.1 requires drupal/core 8.4.1 -> satisfiable by drupal/core[8.4.1] but these conflict with your requirements or minimum-stability.
- webflo/drupal-core-require-dev 8.4.0-rc2 requires drupal/core 8.4.0-rc2 -> satisfiable by drupal/core[8.4.0-rc2] but these conflict with your requirements or minimum-stability.
- webflo/drupal-core-require-dev 8.4.0-rc1 requires drupal/core 8.4.0-rc1 -> satisfiable by drupal/core[8.4.0-rc1] but these conflict with your requirements or minimum-stability.
- webflo/drupal-core-require-dev 8.4.0-beta1 requires drupal/core 8.4.0-beta1 -> satisfiable by drupal/core[8.4.0-beta1] but these conflict with your requirements or minimum-stability.
- webflo/drupal-core-require-dev 8.4.0-alpha1 requires drupal/core 8.4.0-alpha1 -> satisfiable by drupal/core[8.4.0-alpha1] but these conflict with your requirements or minimum-stability.
- webflo/drupal-core-require-dev 8.4.0 requires drupal/core 8.4.0 -> satisfiable by drupal/core[8.4.0] but these conflict with your requirements or minimum-stability.
- Conclusion: don't install webflo/drupal-core-require-dev 8.5.0
- Conclusion: don't install webflo/drupal-core-require-dev 8.5.0-rc1
- Conclusion: don't install webflo/drupal-core-require-dev 8.5.0-beta1
- Conclusion: don't install webflo/drupal-core-require-dev 8.5.0-alpha1
- webflo/drupal-core-require-dev 8.6.x-dev requires drupal/core 8.6.x-dev -> satisfiable by drupal/core[8.6.x-dev].
- Conclusion: don't install drupal/core 8.6.x-dev
- Installation request for acquia/lightning_dev dev-8.x-1.x -> satisfiable by acquia/lightning_dev[dev-8.x-1.x].
- Installation request for acquia/lightning ~3.1.0 -> satisfiable by acquia/lightning[3.1.0, 3.1.x-dev].
- webflo/drupal-core-require-dev 8.4.x-dev requires behat/mink 1.7.x-dev -> satisfiable by behat/mink[1.7.x-dev].
- webflo/drupal-core-require-dev 8.5.x-dev requires behat/mink 1.7.x-dev -> satisfiable by behat/mink[1.7.x-dev].
- Conclusion: don't install behat/mink 1.7.x-dev
- Installation request for webflo/drupal-core-require-dev ~8.4 -> satisfiable by webflo/drupal-core-require-dev[8.4.0, 8.4.0-alpha1, 8.4.0-beta1, 8.4.0-rc1, 8.4.0-rc2, 8.4.1, 8.4.2, 8.4.3, 8.4.4, 8.4.5, 8.4.x-dev, 8.5.0, 8.5.0-alpha1, 8.5.0-beta1, 8.5.0-rc1, 8.5.x-dev, 8.6.x-dev].
I have tried to use the same process with base Drupal 8.5 instead of Lightning and it works fine.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.