Using the docker compose playbook here, I cannot figure how to then use the admin panel to install an extension.
We have the auth.json file present in our user's ~/.compose/auth.json file, and is mounted in the proper container as suggested by the README. However it's not clear how to run the setup container with the M2SETUP_USE_ARCHIVE env variable set to false. Doing so fails always.
So far, the only thing we got to work is a Magento 2.1 instance, but the Admin panel seems to be missing functionality (The Components Manager is missing from the System tab for example).
How to get that setup to work properly? What's the best way to have a clean Magento instance with extension support to play with?
Related
I have encountered a problem that when i try to check/get the arguments in Terraform blocks like resources, Terraform. My Mac Vscode does not work automatically shows up some argument list for me to choose. And I am wondering how to configure it and what's the combination of keyboard shortcuts to increase my efficiency?
I have installed the HarshiCorp Terraform plugin in Mac Vscode.
You should install Terraform on your machine before, then install Hashicorp's official Terraform extension, if it's already installed upgrade it (seems that their bug is fixed now)
Then, on your VS Code press CMD+Shift+X And make sure that your extension is enabled.
Also, try reloading your extension by reloading your window as their documentation states:
You can reload the Terraform extension by opening the command palette
and starting to type Reload. A list of commands will appear, select
Reload Window. This will reload the Visual Studio Code window without
closing down the entire editor, and without losing any work currently
open in the editor.
After you install Terraform and the extension, you should have VS Code open in the same directory where you ran terraform init as it will load your locally installed modules and loads your providers' configuration. For example, if you are pulling modules from a private registry the module documentation may not detect your schemas and then it won't offer autocompletion capabilities.
If you still have issues refer to these links:
https://marketplace.visualstudio.com/items?itemName=HashiCorp.terraform#troubleshooting
Is there a way to run Jekyll on windows without installing Ruby or anything else?
It doesn't need to be perfect - I am basically looking for a simple way to preview a Jekyll and GitHub pages based blog.
It's not possible without copying anything onto your machine, but it's possible without installing anything.
You can use Portable Jekyll - it's a portable download including Ruby and anything else needed to run Jekyll.
Just download it as a .zip file, unzip on your machine and run setpath.cmd, which opens a command prompt with all environment variables set that you need to execute Jekyll.
I'm using this to build multiple Jekyll sites locally on my Windows machine.
By slightly tweaking setpath.cmd, it's also possible to create a batch file which you can just double-click to build your site.
I submitted a pull request for that (but unfortunately it has not yet been merged yet), read the description for more information.
I have configured MAC OS X environment (SDKs, licenses, etc) under current user for build server and would like to reuse all the settings by a build agent. Jenkins was chosen as a good option but for some reason during installation it created a new user jenkins and launch the app under it, causing the environment setup to be not accessible (no SDKs, no licenses are found anymore).
Is it possible to install jenkins under current user?
Probably it could be installed under jenkins but then launched under current user?
Any other good options for me to consider are appreciated.
Try this: http://www.sailmaker.co.uk/blog/2013/04/02/advanced-jenkins-for-ios-and-mac/#Installing-Jenkins-itself
I’m also going to recommend installing Jenkins via Homebrew, to avoid
some nonsense in Jenkins’ own installer whereby it puts itself in
/Users/Shared/. You really don’t want that.
If you're free to reinstall however you'd like, I'd recommend re-installing as the user you want to use, using whatever type of install you prefer, and then simply copy over the old Jenkins data directory to the new installation's location, and then changing the permissions in that directory.
That is to say, the directory containing the config, plugin and job information (it may be something like /usr/lib/jenkins, but could vary).
Then, chown -R the data directory using the user:group info you want to use so Jenkins has access to the files.
I have used this type of method in the past to transfer all the data from one install to another totally separate install on the same box, and it has worked well (one could use this method to transfer the data to an install on another box, as well).
Note: I would highly recommend making a full backup of the data directory before doing this, in case anything goes awry.
I have an Inno Setup which can perform 4 types of installation types
Full install
Server install
Client install
Custom install
When installing the client App i don't want to place files on the local machine but
connect the client with the server installation.
The user has in this case not to chose a destination for the installation but has to chose a directory where a server installation is already installed.
It would be less confusing for the user if he would first select the installation type and then the installation directory or the server directory.
Is there any way to perform a switch in the page order ?
I am thinking about something like this:
i am aware that this behavior is something that isn't directly build in inno setup and maybe not wished but it would be very helpfull for the user.
Maybe somebody has a different approach on this problem, i would appreciate that too
Since i haven't got an answer for this problem and i don't think that it is possible to change the order ,i disabled the DirPage in the Setup section and created a Page that does the same as the DirPage but put it at a different position in the Setup.
Here is how to disable the DirPage:
[Setup]
...
DisableDirPage=yes
I still would be happy if anyone has a more elegant solution, but so far it seems to be the only one.
I have to use d3 graph at my web page. I never worked with d3. That's why, I'm facing some problem using it. Basically, I've to work at dropbox folder. So, my clients can see the worked file locally at their browser. Consider, I put a d3 chart at file.html file and my folder structure is like this
D:\Projects\Dropbox (Company)\MyName\FolderName\file.html
But, I saw that to run and see/show d3 examples I need run web server or run a python server. So, I've downloaded Python 3.4.1 and installed by double click. It's installed at this directory: C:\Python34
After that, I tried to follow d3's documentation for installing python server. So, I opened my cmd and type:
python -m http.server 8888 &
But, it gives me this error:
So, my question is:
How can I install python web server?
After installing that web server, is it possible see the d3 chart via this link: file:///D:/Projects/Dropbox (Company)/MyName/FolderName/file.html or I've put my files inside htdocs and run via http://localhost/folderName/file.html (I don't want to put files inside htdocs. It'll be tough for my clients see the output of the files directly from their pc)?
If it can't be seen without putting inside htdocs folder, I may find solution for running d3.js locally without installing any additional software/server(though I've found this type of solution for some d3.js chart but not for all). Thanks in advance and please don't mind if it's a lame question. Basically, it's my first day working with d3.js and I'm only ameture level skilled with javascript and jQuery.
OK, browsers are designed with security in mind, by default they don't let scripts go and grab a file from anywhere for very good reasons. They allow you to grab a file from the server or through requests. So to share your work with your client you will either need to use a hosting service - I would recommend bl.ocks, design your visualisation so it doesn't require any external data or provide instructions on how to disable browser security. You can read more about this here, here and here.
On python, in many cases python is already installed on people machines, so running a server from python shouldn't be an issue. All you have to do (on a windows machine) is launch your command prompt navigate to your directory and start your python server. Then open a browser and navigate to the localhost. Please note that python needs to be set as an environmental variable (i.e. your system path), the python documentation might help you here.