-
Notifications
You must be signed in to change notification settings - Fork 70
Add instructions for using Emulsify with Docksal dev env #205
Add instructions for using Emulsify with Docksal dev env #205
Conversation
|
||
1. position yourself in the project root directory: | ||
`cd [PROJECT_ROOT_DIR]` | ||
2. install Emulsify theme using Docksal's Composer (Composer instance installed and configured in Docksal image): `fin exec composer require fourkitchens/emulsify` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When I run this command I get the following error.
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for fourkitchens/emulsify ^2.2 -> satisfiable by fourkitchens/emulsify[v2.2].
- fourkitchens/emulsify v2.2 requires drupal/components ^1.0 -> no matching package found.
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
Installation failed, deleting ./composer.json.
@igorlakic Ah, that would be the issue. Would you update the instructions to reflect that Drupal 8 should already be installed? |
@igorlakic I'm getting errors while trying to get Drupal 8 set up.
|
@amazingrando I can't tell you off the top of my head but you're probably using Vagrant on OSX - there were some issues when Vagrant projects are active in the same time when Docksal VM (Docksal VM image) is also active... I'll try to find a link for that issue later (I'm writing this on a smartphone right now). EDIT: Maybe this will help |
First of all, thank you @igorlakic for your support in the issue queue and on the DrupalTwig Slack channel! And thanks @amazingrando for testing this. One general comment once you get the kinks worked out is that in the interest of keeping the README as brief as possible, I think this might be better suited for the Wiki installation page (although we could maybe stand to tweak the link verbiage in the README to mention that there are other installation methods on that page). |
I'll shut down my VMs and retest. Thanks!
|
All my VMs are powered down and I still get the |
I've tried to get Docksal up and running and can't seem to find the magic combination. I'm going to pass the torch to @evanmwillhite or @ModulesUnraveled to review. I'll set a reminder and if no one has had a chance to review, I'll take another look. |
Hey @evanmwillhite! Well, we have different opinions, I love to see these kind of instructions straight away on the first/front page of the project (generally speaking). It is true that README wouldn't be as brief as is now and there are pros for that as well. But I respect your opinion as one of the project leaders. Because I like this project and Docksal I made this short "How to" to help other fellow devs. But if you have other plans, no problem at all. @amazingrando Docksal is really mad at you 😂... I'm using a Linux machine so I don't have such problems 😋 but you might want to look at your /etc/exports file on your macbook. If you use ~/projects dir everything should be fine. If you're using some other dir, then add that location to the /etc/export to match the proper location and run
and then |
I just tried to review this, but unfortunately, I couldn't even get Docksal up and running. So, I'll just leave my general comments here.
I created a stub in the Wiki sidebar for this information (and other environments that might have specific usage instructions). If you will add a new page to the wiki with the Docksal documentation, we'll make sure to link it in the sidebar.
Thanks for your work, and for submitting documentation! In my opinion, documentation is the hardest part of maintaining any tool. |
You're welcome Brian/@ModulesUnraveled! I've made modifications to reflect changes made in Emulsify theme (changed clone command). Can you give me permission to add this to a new page in the wiki? |
I think the way to contribute to the Wiki is to clone it, and create a PR just like you would for the regular repo. There's a clone link on the Wiki page below the sidebar: https://github.com/fourkitchens/emulsify/wiki |
Bummer! We'll have to figure out another way to allow community contribution to the docs. In the meantime, I went ahead and created the page and mentioned that it was contributed by you. |
Cool! Thank you Brian! |
This is a short "How to" for using Emulsify theme with Docksal development environment.